Trying to use luarocks to install 'struct' extension, but it fails on my 64-bit system. My system is running Ubuntu 10.10 64-bit desktop edition. How to proceed from here ?
- Mike. -- miked@primus1:~/trylua$ luarocks install struct Installing http://luarocks.org/repositories/rocks/struct-1.2-2.src.rock... Archive: /tmp/luarocks_luarocks-rock-struct-1.2-2-4638/struct-1.2-2.src.rock inflating: struct-1.2-2.rockspec inflating: struct.c gcc -O2 -I/usr/include/lua5.1 -c struct.c -o struct.o gcc -shared -o struct.so -L/usr/local/lib struct.o /usr/bin/ld: struct.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC struct.o: could not read symbols: Bad value collect2: ld returned 1 exit status cp: cannot stat `struct.so': No such file or directory Error: Build error: Failed installing struct.so in /home/miked/.luarocks/lib/luarocks/rocks/struct/1.2-2/lib miked@primus1:~/trylua$
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
