lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi ,
I am getting following error when I try to build LuaXml library on Ubuntu 12.04

gcc -o LuaXML_lib.so -fPIC -shared LuaXML_lib.o -L. -L../lua/src  -llua -ldl
/usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liblua.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [LuaXML_lib.so] Error 1


Help is really appreciated