automake
[Top][All Lists]
Advanced

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

Re: R_X86_64_32S error building a shared library


From: Jan Engelhardt
Subject: Re: R_X86_64_32S error building a shared library
Date: Mon, 26 Jan 2009 01:36:48 +0100 (CET)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

On Monday 2009-01-26 01:23, Adam Nielsen wrote:

>>>>> x86_64-pc-linux-gnu/bin/ld:
>>>>> .../lib64/libboost_system-mt-1_37.a(error_code.o): relocation R_X86_64_32S
>>>>> against `a local symbol' can not be used when making a  shared object;
>>>>> recompile with -fPIC
>>>>> .../lib64/libboost_system-mt-1_37.a: could not read symbols: Bad value
>>
>> You do not need to have boost available as a shared library.
>
> Sorry Jan, I don't understand - how can I link my library in with the user's
> local installation of Boost if it's not available as a shared library?

I do not truly have an answer for that. But if I remember correctly,
I had seen ".pic.a" libraries previously which, I would say,
would alleviate the problem, short of them being much less widespread
in use than .a archives already are.

It really seems uncommon to me for users not to have shared libraries
these days..




reply via email to

[Prev in Thread] Current Thread [Next in Thread]