[Freeswitch-users] error loading module 'luasql.mysql'

Mike van Lammeren mike at van.lammeren.net
Wed Jan 27 17:13:36 PST 2010


For me, the mysql.so library didn't work until I ran ldconfig on the
directory that contained it.

Mike van Lammeren


On Wed, Jan 27, 2010 at 7:15 PM, Adam Wilt <wiltingtree at gmail.com> wrote:

> Hi, I followed the instructions in the Lua documentation for setting up
> luasql, but when I try to run my script I get:
>
> 2010-01-27 19:08:14.799250 [ERR] mod_lua.cpp:182 error loading module
> 'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so':
>         /usr/local/lib/lua/5.1/luasql/mysql.so: cannot restore segment prot
> after reloc: Permission denied
> stack traceback:
>         [C]: ?
>         [C]: in function 'require'
>         /usr/local/freeswitch/scripts/l.lua:2: in main chunk
>
> I'm running FreeSWITCH version 1.4 and luasql version 2.1.1.
>
> I changed the permissions for mysql.so and for my script to 777, so I'm not
> sure where the permission problem could be.
>
> I'd appreciate any suggestions.
>
> Thanks,
> Adam
>
>
> _______________________________________________
> 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/20100127/6c5df418/attachment-0002.html 


More information about the FreeSWITCH-users mailing list