<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>&nbsp;Like to add some additional info:<BR>I'm using the latest stable freeswitch and Postgres9.2.1, runing on CentOS6.2.<BR>and built the luaSql per the wiki, the&nbsp;config file was&nbsp;changed&nbsp;as below<BR>&nbsp;<BR>T= postgres<br>#T= sqlite<BR>#LUA_INC= $(PREFIX)/include<br>LUA_INC= /usr/local/src/freeswitch/src/mod/languages/mod_lua/lua/<br>######## PostgreSQL<br>DRIVER_LIBS= -L/opt/postgres9.2/lib -lpq<br>DRIVER_INCS= -I/opt/postgres9.2/include/<BR>....<BR>&nbsp;<BR>Thanks,<BR>Kevin<BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: kevin.jzh@hotmail.com<br>To: freeswitch-users@lists.freeswitch.org<br>Date: Fri, 4 Jan 2013 20:55:55 +0800<br>Subject: [Freeswitch-users] Luasql.postgres loading issue<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:\005fae\008f6f\0096c5\009ed1;}

--></style>
<div dir="ltr">



Hi All, <br>&nbsp;<br>I'm&nbsp;using&nbsp;lua to the access the postgresql, but get the error as below.&nbsp; Any help is appreciated.<br>I did a lot search in the list and on internet, however didn't find the solution.<br>&nbsp;<br>2013-01-03 18:16:02.165155 [NOTICE] switch_ivr.c:1801 Transfer <a href="mailto:sofia/internal/kevin@192.168.1.200">sofia/internal/kevin@192.168.1.200</a> to XML[9908@default]<br>2013-01-03 18:16:02.165155 [INFO] mod_dialplan_xml.c:557 Processing kevin &lt;kevin&gt;-&gt;9908 in context default<br>2013-01-03 18:16:02.243548 [ERR] mod_lua.cpp:198 error loading module 'luasql.postgres' from file '/usr/local/lib/lua/5.1/luasql/postgres.so':<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/libnssutil3.so: undefined symbol: PR_GetDirectorySeparator<br>stack traceback:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [C]: ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [C]: in function 'require'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeswitch/scripts/cbdemo.lua:1: in main chunk<br>&nbsp;<br>&nbsp;<br>Thanks,<br>Kevin<br>                                               </div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</div>                                               </div></body>
</html>