apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel May" <dan...@spryware.com>
Subject 64-bit build errors
Date Thu, 29 Dec 2005 01:17:46 GMT
I was able to successfully build APR on Red Hat EL 4.  I have a shared
library I am trying to build that is linking in APR statically.  I get
the following error:
 
/usr/bin/ld: /usr/local/apr/lib/libapr-1.a(apr_strings.o): relocation
R_X86_64_32 against `a local symbol' can not  be used when making a
shared object; 
recompile with -fPIC
/usr/local/apr/lib/libapr-1.a: could not read symbols: Bad value
 
If I link against the shared APR lib it works fine.  I included -fPIC in
my make, but it did not help.
 
Any Ideas ?
 
Daniel May
daniel@may.com
 


Mime
View raw message