[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LFS build fails on Ubuntu 9.04 amd64
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Tue, 13 Oct 2009 12:17:08 -0300
Hi,
This problem has already showed up at the LuaRocks list, the apt
package for LuaRocks is broken. Uninstall it and install LuaRocks from
source, then reinstall luafilesystem and everything will work. The
mantainer for the package has already been notified.
--
Fabio Mascarenhas
On Tue, Oct 13, 2009 at 12:08 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> 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.
>