[Freeswitch-users] Luasql.postgres loading issue
JinKevin
kevin.jzh at hotmail.com
Sat Jan 5 06:09:51 MSK 2013
Like to add some additional info:I'm using the latest stable freeswitch and Postgres9.2.1, runing on CentOS6.2.and built the luaSql per the wiki, the config file was changed as below T= postgres
#T= sqlite#LUA_INC= $(PREFIX)/include
LUA_INC= /usr/local/src/freeswitch/src/mod/languages/mod_lua/lua/
######## PostgreSQL
DRIVER_LIBS= -L/opt/postgres9.2/lib -lpq
DRIVER_INCS= -I/opt/postgres9.2/include/.... Thanks,KevinFrom: kevin.jzh at hotmail.com
To: freeswitch-users at lists.freeswitch.org
Date: Fri, 4 Jan 2013 20:55:55 +0800
Subject: [Freeswitch-users] Luasql.postgres loading issue
Hi All,
I'm using lua to the access the postgresql, but get the error as below. Any help is appreciated.
I did a lot search in the list and on internet, however didn't find the solution.
2013-01-03 18:16:02.165155 [NOTICE] switch_ivr.c:1801 Transfer sofia/internal/kevin at 192.168.1.200 to XML[9908 at default]
2013-01-03 18:16:02.165155 [INFO] mod_dialplan_xml.c:557 Processing kevin <kevin>->9908 in context default
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':
/usr/lib/libnssutil3.so: undefined symbol: PR_GetDirectorySeparator
stack traceback:
[C]: ?
[C]: in function 'require'
/opt/freeswitch/scripts/cbdemo.lua:1: in main chunk
Thanks,
Kevin
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130105/06a62591/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list