Hi, I followed the instructions in the Lua documentation for setting up luasql, but when I try to run my script I get:<div><br></div><div><div>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':</div>
<div> /usr/local/lib/lua/5.1/luasql/mysql.so: cannot restore segment prot after reloc: Permission denied</div><div>stack traceback:</div><div> [C]: ?</div><div> [C]: in function 'require'</div>
<div> /usr/local/freeswitch/scripts/l.lua:2: in main chunk</div><div><br></div><div>I'm running FreeSWITCH version 1.4 and luasql version 2.1.1.</div><div><br></div><div>I changed the permissions for mysql.so and for my script to 777, so I'm not sure where the permission problem could be.</div>
<div><br></div><div>I'd appreciate any suggestions.</div><div><br></div><div>Thanks,</div><div>Adam</div><div><br></div></div>