Re: [squid-users] 3.1.x compile errors using ssl_crtd

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 29 May 2012 16:43:30 +0300

well i have tried compiling squid 3.2.0.17 and it was built fine.

i wrote a basic way to compile squid on ubuntu 10.04 and 12.04 with all
the dev dependencies required to compile it at:

http://ubuntuforums.org/showpost.php?p=11958889&postcount=2

Eliezer

On 28/05/2012 13:57, Linos wrote:
> Hi,
> i have installed the 3.2.0 beta version (the last daily auto-generated version)
> because of the hurry and all it is working fine until now, thanks
>
> Regards,
> Miguel Angel.
>
> El 28/05/12 01:13, Amos Jeffries escribió:
>> On 28.05.2012 07:31, Linos wrote:
>>> Hi,
>>> i am using Ubuntu Server 12.04 with libssl-dev 1.0.1 and i can't compile
>>> squid, i have downloaded the last daily auto-generated release (that
>>> should have
>>> this bug fixed) but i still have the same problem.
>>>
>>> ./configure --enable-ssl --enable-ssl-crtd
>>> make
>>>
>>> ....(after a while)
>>> /bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith
>>> -Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -g -O2 -g -o
>>> ssl_crtd ssl_crtd.o certificate_db.o -lssl -lcrypto -lsslutil
>>> ../../compat/libcompat.la ../../lib/libmiscutil.a
>>> libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
>>> -fhuge-objects -D_REENTRANT -g -O2 -g -o ssl_crtd ssl_crtd.o certificate_db.o
>>> -lssl -lcrypto -lsslutil ../../compat/.libs/libcompat.a
>>> ../../lib/libmiscutil.a
>>> g++: warning: switch '-fhuge-objects' is no longer supported
>>> /usr/bin/ld: cannot find -lsslutil
>>> collect2: ld returned 1 exit status
>>>
>>> I have tried to add .libs/libsslutil.a to the linker line in src/ssl/Makefile
>>> the direct path .libs/libsslutil.a but i get the original bug error
>>> after this
>>
>>
>> The dependencies seem a bit out of sync with the library linkage order.
>>
>> I think it should actually be "ssl/libsslutil.la $(SSLLIB)"
>>
>> Amos
>

-- 
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il
Received on Tue May 29 2012 - 13:43:37 MDT

This archive was generated by hypermail 2.2.0 : Tue May 29 2012 - 12:00:05 MDT