Hi,
I can't get luasql 2.1.0 to compile, so now I am trying with luasql
2.0.1. It looks like I can go further with it, but still compilation fails:
[root@localhost luasql-2.0.1]# make
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -I/usr/src/compat-5.1r5 -I/usr/include/mysql -I/usr/local/include/lua5 -o src/
libmysql.2.0.1.so -shared /usr/src/compat-5.1r5/compat-5.1.o src/luasql.o src/ls_mysql.o -L/usr/lib64/mysql/lib -lmysqlclient -lz -lm -ldl
/usr/bin/ld: /usr/src/compat-5.1r5/compat-5.1.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/src/compat-5.1r5/compat-5.1.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [src/
libmysql.2.0.1.so] Error 1
[root@localhost luasql-2.0.1]# ls /usr/src/compat-5.1r5/compat-5.1.o
/usr/src/compat-5.1r5/compat-5.1.o
[root@localhost luasql-2.0.1]#
Could someone please help me out? What is missing from my configuration?
Thanks alot in advance for all your help.
Pete