<div dir="ltr">I have (or so I thought) installed all dependencies for Lua to connect to a postgres db in freeswitch.<div><br></div><div>When I run the Lua script though I get this message</div><div><br></div><div><br></div>
<div>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:</div><div> no field package.preload['luasql.postgres']</div>
<div> no file './luasql/postgres.lua'</div><div> no file '/usr/local/share/lua/5.1/luasql/postgres.lua'</div><div> no file '/usr/local/share/lua/5.1/luasql/postgres/init.lua'</div>
<div> no file '/usr/local/lib/lua/5.1/luasql/postgres.lua'</div><div> no file '/usr/local/lib/lua/5.1/luasql/postgres/init.lua'</div><div> no file './luasql/postgres.so'</div><div>
no file './libluasql/postgres51.so'</div><div> no file '/usr/local/lib/lua/5.1/luasql/postgres.so'</div><div> no file '/usr/local/lib/lua/5.1/libluasql/postgres51.so'</div><div>
no file '/usr/local/lib/lua/5.1/loadall.so'</div><div> no file './luasql.so'</div><div> no file './libluasql51.so'</div><div> no file '/usr/local/lib/lua/5.1/luasql.so'</div>
<div> no file '/usr/local/lib/lua/5.1/libluasql51.so'</div><div> no file '/usr/local/lib/lua/5.1/loadall.so'</div><div><br></div><div><br></div><div>I do have lua-sql-postgres installed on Debian 7 as well as libpq-dev and all other mentioned packages</div>
<div><br></div><div><br></div><div>How do I correct the issue of FreeSWITCH not seeing lua-sql-postgres?</div><div><br></div><div><br></div></div>