Hi,

There is a small issue with the lua expat makefile on 64bit machines:

v...@vadi-laptop:~/Programs/Mudlet2/artwork$ luarocks install luaexpat
Installing http://luarocks.org/repositories/rocks/luaexpat-1.1.0-4.src.rock.
..
Archive:
 /tmp/luarocks_luarocks-rock-luaexpat-1.1.0-4-3101/luaexpat-1.1.0-4.src.rock
  inflating: luaexpat-1.1.0-4.rockspec
 extracting: luaexpat-1.1.tar.gz
gcc -O2 -I/usr/include/lua5.1 -c src/lxplib.c -o src/lxplib.o -I/usr/include
-Isrc/
gcc -shared -o lxp.so -L/usr/local/lib src/lxplib.o -L/usr/lib -lexpat
/usr/bin/ld: src/lxplib.o: relocation R_X86_64_32 against `.rodata.str1.1'
can not be used when making a shared object; recompile with -fPIC
src/lxplib.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

Error: Build error: Build error
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to