lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi Enrico,

I only need to compile to the point where lua-sql can run.  How can I change the Makefile or config so that lua-sql can work?

Thanks alot for all your help.


On Wed, Sep 17, 2008 at 5:22 PM, Enrico Tassi <> wrote:
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.

Enrico Tassi