Re: i'm having a problem while compiling squid 3.2.0.12 (since 3.2.0.6) on ubuntu server

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Wed, 21 Sep 2011 07:54:10 -0600

On 09/20/2011 11:29 PM, Amos Jeffries wrote:
>>>
>>> In file included from ../src/ssl/support.h:38,
>>> from ssl/ErrorDetailManager.h:4,
>>> from errorpage.cc:42:
>>> ../src/ssl/gadgets.h:39: error: variable or field גX509_free_cppג
>>> declared void
>>
>> I believe I have seen this bug as well. Try installing OpenSSL
>> libraries, including development headers (openssl-devel package or
>> similar).
>>
>> Please consider filing this bug using Squid bugzilla. Please mention
>> whether installing OpenSSL helped.
>
> And which version(s), down to the sub-lettering. There seem to be some
> fun changes going on in the headers for the 1.0.0 releases.

In my case, it was a Squid bug unrelated to OpenSSL versions. As far as
I could tell, we were including some SSL-related files even when SSL was
disabled, but I did not have a chance to fully investigate.

> ok so i installed every possilbe openssl lib that i was thinking of using:
> apt-get install libcurl4-openssl-dev libssl-dev libssl0.9.8 libssl0.9.8-dbg
>
> and then i get the following output (some lines where added).:
>
> make[3]: Entering directory `/opt/src/squid-3.2.0.12/src'
> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid32012/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid32012/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid32012/etc\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -m64 -g -O2 -c -o errorpage.o errorpage.cc
> In file included from ../src/ssl/support.h:38,
> from ssl/ErrorDetailManager.h:4,
> from errorpage.cc:42:
> ../src/ssl/gadgets.h:39: error: variable or field גX509_free_cppג declared void

Did you reconfigure Squid from scratch after installing OpenSSL?

Thank you,

Alex.
Received on Wed Sep 21 2011 - 13:54:57 MDT

This archive was generated by hypermail 2.2.0 : Sun Sep 25 2011 - 12:00:03 MDT