[squid-users] Compiling with OpenSSL Support

Tyn Li tynli at yahoo.com
Fri Oct 13 15:18:42 UTC 2017


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171013/f9d0c8b6/attachment.html>


More information about the squid-users mailing list