Hi, Alejandro,

What version of LuaRocks are you using and how did you compile it?

--
Fabio Mascarenhas, Lablua
http://www.lua.inf.puc-rio.br




On Wed, Sep 23, 2009 at 7:20 PM, Alejandro Mery <[email protected]> wrote:
> Hi,
>
> `luarocks install luafilesystem` fails when compiling in a 64b system
>
> gcc  -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 `a local
> symbol' 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
>
> but when built by hand it works fine...
>
> unfortunately building lfs by hand makes me unable to install xavante
> using luarocks too.
>
> may you please tell me what's the easiest way to fix that
> luafilesystem's rock locally and them make luarocks use it?
>
> if you can upload a 64-compatible rock, much better =)
>
> Thanks in advance,
> Alejandro Mery
>
> _______________________________________________
> Kepler-Project mailing list
> [email protected]
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to