[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Error compilling Lua-SDL2
- From: Daniel Silverstone <dsilvers@...>
- Date: Mon, 23 Jun 2014 13:53:02 +0100
On Mon, Jun 23, 2014 at 12:22:18 +0000, Bernd Eggink wrote:
> When I tried to compile Lua-SDL2-2.0.3-1 on 64-bit Linux, I got:
>
> -----
> /usr/bin/ld: /usr/bin/liblua.a(lapi.o): relocation R_X86_64_32
> against `luaO_nilobject_' can not be used when making a shared
> object; recompile with -fPIC
> /usr/bin/liblua.a: could not read symbols: Bad value
Do not link against the .a, link against the .so
D.
--
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69