Hi all,

I am trying to build neko on a 64-bit CentOS 5 system and having trouble with 
MySQL there. The error message is:
gcc -O3 -fPIC -pthread  -c -I../../vm -I/usr/include/mysql mysql.c
gcc -shared -L../../bin -pthread -lneko -L../../libs/include -L/usr/lib 
-L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib 
-L/opt/local/lib/mysql -L/usr/lib64/mysql  -o ../../bin/mysql.ndll -lz -lssl 
mysql.o  /usr/lib64/mysql/libmysqlclient_r.a
/usr/bin/ld: /usr/lib64/mysql/libmysqlclient_r.a(libmysql.o): relocation 
R_X86_64_32 against `a local symbol' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib64/mysql/libmysqlclient_r.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

I've found a similar discussion a year ago: 
http://lists.motion-twin.com/pipermail/neko/2008-September/002349.html but 
cannot really understand the advice from there:

> Against the mysql bug, re-emerge mysql with USE="static -ssl"
> make clean
> make

What does re-emerge mean? Recompile mysql? Doesn't sound like an excellent 
option for me but will do if no other way.

Thanks,
  Mike Pliskin
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to