[squid-users] Compiling with OpenSSL Support

Marcus Kool marcus.kool at urlfilterdb.com
Fri Oct 13 18:16:19 UTC 2017


Debian 9 has openssl 1.1.x while most platforms have older versions.

I noticed myself when I ported ufdbGuard to Debian 9 that openssl 1.1.x has many changes in the API.

Marcus

On 13/10/17 13:19, Sérgio Abrantes Junior wrote:
> Hello,
> 
> I installed this package to resolve this: libssl1.0-dev
> 
> 2017-10-13 12:18 GMT-03:00 Tyn Li <tynli at yahoo.com <mailto:tynli at yahoo.com>>:
> 
>     Hello,
> 
>     I am trying to compile squid on Debian 9 and include OpenSSL support.  Here are the configure options I am using:
> 
>     ./configure --with-openssl --enable-disk-io --enable-storeio --enable-icmp --enable-delay-pools --enable-linux-netfilter --enable-log-daemon-helpers --enable-external-acl-helpers
>     --enable-url-rewrite-helpers --enable-storeid-rewrite-helpers
> 
>     The error that I'm getting during make is this:
> 
>     ../../src/ssl/gadgets.h:83:45: error: ‘CRYPTO_LOCK_X509’ was not declared in this scope
>       typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509> X509_Pointer;
> 
>     I cannot find the CRYPTO_LOCK_X509 macro defined anywhere in the OpenSSL headers I've installed with libssl-dev (which is probably why I'm getting the error).
> 
>     How do I get around this particular compilation error?  What additional software/steps do I need?
> 
>     Thanks!
> 
> 
>     _______________________________________________
>     squid-users mailing list
>     squid-users at lists.squid-cache.org
>     http://lists.squid-cache.org/listinfo/squid-users
> 
> 
> 
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 


More information about the squid-users mailing list