[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Unable to compile Lua-sql 2.0.1 on Centos 5.2
- From: Enrico Tassi <gareuselesinge@...>
- Date: Wed, 17 Sep 2008 11:22:24 +0200
On Wed, Sep 17, 2008 at 04:56:31PM +0800, Pete Kay wrote:
> /usr/bin/ld: /usr/src/compat-5.1r5/compat-5.1.o: relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
^^^^^
You are building a shared object on amd64, you need to compile every file
with -fPIC.
Cheers
--
Enrico Tassi