Hello,

I'm getting the following error while compiling neko on Debian/AMD64:

Compiling mysql...
gcc -O3 -fPIC -c -I../../vm -I/usr/include/mysql mysql.c
gcc -shared -L../../bin -lneko -L../../libs/include -L/usr/lib
-L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib
-L/opt/local/lib/mysql  -o ../../bin/mysql.ndll -lz mysql.o
/usr/lib/libmysqlclient.a
/usr/bin/ld: /usr/lib/libmysqlclient.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/lib/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Called from tools/install.neko line 336
Uncaught exception - Error 256 : aborted
make: *** [libs] Error 1


This happens with the original sources, the source package from Debian
unstable compiles alright, but trying to use mysql with the resulting
neko gives me this:

sandbox:~/neko# neko mysqltest.n
neko: symbol lookup error: /usr/lib/neko/mysql.ndll: undefined symbol:
mysql_init


Any hints would be appreciated...

- Lars

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

Reply via email to