[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Unable to compile Lua-sql 2.0.1 on Centos 5.2
- From: "Pete Kay" <petedao@...>
- Date: Wed, 17 Sep 2008 17:31:35 +0800
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 <firstname.lastname@example.org>
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