Hello,

I am trying to use luasql with freeswitch but having a hard time compile it 
with x86_64 Server running CentOS 5.3

Linux  2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 
GNU/Linux

[r...@fsx1 luasql-2.1.1]# make
export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations -ansi -pedantic -I../compat/src -I/opt/local/include 
-I/usr/local/include  -o src/sqlite3.so -shared  src/luasql.o src/ls_sqlite3.o  
-L/opt/local/lib -lsqlite3
/usr/bin/ld: src/luasql.o: relocation R_X86_64_32 against `a local symbol' can 
not be used when making a shared object; recompile with -fPIC
src/luasql.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [src/sqlite3.so] Error 1


Any suggestions.

Thank you.


      

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to