[Freeswitch-users] compile freeswitch, lua, luasql for 64-bit arch

Tapan Parikh tparikh at gmail.com
Mon Aug 24 21:56:45 PDT 2009


Hi -

Does anyone know how to compile freeswitch for a 64-bit architecture
on mac os x?

MySQL on MAC OS X only comes pre-compiled for 64-bit.  I compiled
luasql against this libmysqlclient.dylib.  Now when I call lua from
freeswitch I get:

2009-08-24 21:06:44.370439 [ERR] mod_lua.cpp:182 error loading module
'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so':
	dlopen(/usr/local/lib/lua/5.1/luasql/mysql.so, 2): no suitable image
found.  Did find:
	/usr/local/lib/lua/5.1/luasql/mysql.so: mach-o, but wrong architecture
stack traceback:
	[C]: ?
	[C]: in function 'require'
	/usr/local/freeswitch/scripts/otalo.lua:3: in main chun

Any pointers?




More information about the FreeSWITCH-users mailing list