Re: [squid-users] relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 04 Oct 2013 05:15:19 +1300

On 4/10/2013 3:44 a.m., Nikolai Gorchilov wrote:
> On Thu, Oct 3, 2013 at 5:18 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>> On 4/10/2013 2:46 a.m., Niki Gorchilov wrote:
>>> I'm trying to compile 3.4.0.1 on Ubuntu 12.04 LTS I get the following
>>> errors:
>>
>> Please try the 3.4.0.2 package which has just been bundled.
>> (NP: I dont think it will solve this particular issue, but there were other
>> big issues in 3.4.0.1 which are now resolved)
> ok. trying with
> http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.0.2.tar.bz2.
>
>> Does it build past this error if you run this command before ./configure ?
>> sed --in-place s/_LIBRARIES/_LTLIBRARIES/ compat/Makefile.in
> Unfortunately not. Same error in both 3.4.0.1 & 3.4.0.2.

Strange. It is building with "-fPIC -DPIC" for me after the above, yet
as you pointed out was not beforehand.

What versions of automake, libtool and autoconf are you building with?
  can you confirm that *_LIBRARIES does not exist in compat/Makefile
after the above change to Makefile.in and re-./configure?

Amos
Received on Thu Oct 03 2013 - 16:15:33 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 03 2013 - 12:00:06 MDT