Re: [squid-users] compile error on Squid 3.1.18

From: Víctor José Hernández Gómez <vjhergom_at_cic.upo.es>
Date: Wed, 07 Dec 2011 11:26:24 +0100

Hi everybody,

the problem related to ssl detection still stands in 3.1.18 branch.

/usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:110: undefined reference
to `X509_set_issuer_name'
/usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:117: undefined reference
to `X509_set_notAfter'
/usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:122: undefined reference
to `X509_set_subject_name'
/usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:127: undefined reference
to `X509_set_pubkey'

This time I have tried gcc 4.4.6 and OpenSSL 0.9.8r (on a RedHat 6.2
machine)..

Let me know if I can help you somehow to bypass this compilation error.

Best regards,

--
Víctor J. Hernández Gómez
>
> My problem (a link problem) was solved when I inverted the order of
> SSLLIB and SSL_LIBS inside src/Makefile
>
> squid/squid-3.1.18 > diff src/Makefile.org src/Makefile
> 1893c1893
> < $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \
> ---
>  > $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \
> squid/squid-3.1.18 >
>
> I'm using gcc-3.4.6.
Received on Wed Dec 07 2011 - 10:26:30 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 07 2011 - 12:00:02 MST