[Freeswitch-users] luasql

Joel White joelewhite at gmail.com
Mon Aug 18 17:11:50 MSD 2014


Thank you Steven


I am now working with freeswitch.Dbh



On Thu, Aug 14, 2014 at 12:12 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Use https://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh not luasql
>
>
> On 14 August 2014 13:19, Joel White <joelewhite at gmail.com> wrote:
>
>> I have (or so I thought) installed all dependencies for Lua to connect to
>> a postgres db in freeswitch.
>>
>> When I run the Lua script though I get this message
>>
>>
>> 2014-08-14 08:16:20.832901 [ERR] mod_lua.cpp:203
>> /usr/local/freeswitch/scripts/db_connect.lua:12: module 'luasql.postgres'
>> not found:
>>         no field package.preload['luasql.postgres']
>>         no file './luasql/postgres.lua'
>>         no file '/usr/local/share/lua/5.1/luasql/postgres.lua'
>>         no file '/usr/local/share/lua/5.1/luasql/postgres/init.lua'
>>         no file '/usr/local/lib/lua/5.1/luasql/postgres.lua'
>>         no file '/usr/local/lib/lua/5.1/luasql/postgres/init.lua'
>>         no file './luasql/postgres.so'
>>          no file './libluasql/postgres51.so'
>>         no file '/usr/local/lib/lua/5.1/luasql/postgres.so'
>>         no file '/usr/local/lib/lua/5.1/libluasql/postgres51.so'
>>         no file '/usr/local/lib/lua/5.1/loadall.so'
>>         no file './luasql.so'
>>         no file './libluasql51.so'
>>         no file '/usr/local/lib/lua/5.1/luasql.so'
>>         no file '/usr/local/lib/lua/5.1/libluasql51.so'
>>         no file '/usr/local/lib/lua/5.1/loadall.so'
>>
>>
>> I do have lua-sql-postgres installed on Debian 7 as well as libpq-dev and
>> all other mentioned packages
>>
>>
>> How do I correct the issue of FreeSWITCH not seeing lua-sql-postgres?
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20140818/9eb09165/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list