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

From: Linos <info_at_linos.es>
Date: Tue, 29 May 2012 19:28:16 +0200

El 29/05/12 13:20, Linos escribió:
> El 28/05/12 14:59, Linos escribió:
>> El 28/05/12 02:36, Linos escribió:
>>> El 28/05/12 01:13, Amos Jeffries escribió:
>>>>
>>>>
>>>> The dependencies seem a bit out of sync with the library linkage order.
>>>>
>>>> I think it should actually be "ssl/libsslutil.la $(SSLLIB)"
>>>>
>>>> Amos
>>>
>>> Thanks Amos,
>>> I am not sure if i have understood you correctly but i have tried with:
>>>
>>> ssl_crtd_LDADD = ssl/libsslutil.la $(SSLLIB) -lsslutil ../../compat/libcompat.la
>>> ../../lib/libmiscutil.a
>>>
>>> that fails with:
>>> libtool: link: cannot find the library `ssl/libsslutil.la' or unhandled argument
>>> `ssl/libsslutil.la'
>>>
>>> and with:
>>>
>>> ssl_crtd_LDADD = .libs/libsslutil.la $(SSLLIB) -lsslutil
>>> ../../compat/libcompat.la ../../lib/libmiscutil.a
>>>
>>> that fails with the same error about "undefined reference to `squid_curtime'" as
>>> before.
>>>
>>> Regards,
>>> Miguel Angel.
>>
>> And after a while using 3.2.0 beta squid have failed with:
>>
>> 2012/05/28 13:39:30| BUG: Orphan Comm::Connection: local=81.24.115.100:36137
>> remote=199.59.148.87:443 FD 105 flags=1
>> 2012/05/28 13:39:30| NOTE: 1 Orphans since last started.
>> 2012/05/28 13:39:30| assertion failed: comm.cc:1093: "isOpen(fd)"
>>
>> So i don't have a working solution to use squid with sslbump in Ubuntu 12.04
>> still :-(
>>
>> Regards,
>> Miguel Angel.
>
> I have created two bug reports, one for the compilation issue with 3.1.x and
> other for this bug in 3.2.0 beta but i don't have still a working and stable
> solution to use Squid with sslbump in Ubuntu 12.04, could something help me with
> the compilation problem?
>
> Would be a solution to install openssl 0.9.8 in /usr/local and compile 3.1.19
> with it? Thanks!
>
> Regards,
> Miguel Angel.

I have tried compiling 3.1.19 with openssl 0.9.8x installed in /usr/local but i
still have a compilation error:

/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 /tmp/squid-3.1.15/src/ssl/.libs/libsslutil.a
../../compat/.libs/libcompat.a ../../lib/libmiscutil.a
g++: warning: switch '-fhuge-objects' is no longer supported
../../lib/libmiscutil.a(MemPool.o): In function `MemPools::flushMeters()':
/tmp/squid-3.1.15/lib/MemPool.cc:224: undefined reference to `squid_curtime'
/tmp/squid-3.1.15/lib/MemPool.cc:225: undefined reference to `squid_curtime'
/tmp/squid-3.1.15/lib/MemPool.cc:223: undefined reference to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::deallocate(void*, bool)':
/tmp/squid-3.1.15/lib/MemPoolChunked.cc:357: undefined reference to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::convertFreeCacheToChunkFreeCache()':
/tmp/squid-3.1.15/lib/MemPoolChunked.cc:380: undefined reference to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o):/tmp/squid-3.1.15/lib/MemPoolChunked.cc:406:
more undefined references to `squid_curtime' follow
collect2: ld returned 1 exit status
make[3]: *** [ssl_crtd] Error 1

so it seems it is not related with openssl 1.0.1

Regards,
Miguel Angel.
Received on Tue May 29 2012 - 17:28:26 MDT

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