[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Fwd: LFS build fails on Ubuntu 9.04 amd64
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 13 Oct 2009 19:08:42 +0400
Sorry, Luarocks list on Luaforge seems to be down, so I'm posting it here.
Alexander.
---------- Forwarded message ----------
From: Alexander Gladysh <agladysh@gmail.com>
Date: Tue, Oct 13, 2009 at 19:06
Subject: LFS build fails on Ubuntu 9.04 amd64
To: LuaRocks developers list <luarocks-developers@lists.luaforge.net>
Hi, list!
I can't install luafilesystem rock on my 64-bit Ubuntu Server 9.04 box
(luarocks 1.0.1-1 from the standard apt package).
Here is the output:
$ sudo luarocks install luafilesystem
Installing http://luarocks.luaforge.net/rocks/luafilesystem-1.4.2-1.src.rock...
Archive: /tmp/luarocks-rock-luafilesystem-1.4.2-1-6606/luafilesystem-1.4.2-1.src.rock
inflating: luafilesystem-1.4.2-1.rockspec
extracting: luafilesystem-1.4.2.tar.gz
gcc -O2 -I/usr/include/lua5.1/ -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so src/lfs.o
/usr/bin/ld: src/lfs.o: relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
src/lfs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
cp: cannot stat `lfs.so': No such file or directory
Error: Build error: Build error
Any clues?
Alexander.