[squid-users] Compiling with OpenSSL Support

Amos Jeffries squid3 at treenet.co.nz
Mon Oct 16 14:04:06 UTC 2017


On 16/10/17 23:47, Matus UHLAR - fantomas wrote:
>> On 15/10/17 14:17, Matus UHLAR - fantomas wrote:
>>>>> 2017-10-13 12:18 GMT-03:00 Tyn Li:
>>>>>   ../../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;
>>>
>>>> On 13/10/17 13:19, Sérgio Abrantes Junior wrote:
>>>>> I installed this package to resolve this: libssl1.0-dev
>>>
>>> why not libssl-dev?
>>>
>>> On 13.10.17 15:16, Marcus Kool wrote:
>>>> Debian 9 has openssl 1.1.x while most platforms have older versions.
>>>
>>> that means, you should use libssl-dev unless you know squid can't 
>>> compile
>>> with openssl-1.1
> 
> On 15.10.17 18:43, Marcus Kool wrote:
>> Openssl 1.1.x is not backwards compatible and does not have the symbol
>> CRYPTO_LOCK_X509 while openssl 1.0.2 has.
> 
> are you talking about squid or ufdbguard?
> 

Doesn't matter, it is a problem with OpenSSL 1.0 vs 1.1.
Anything which uses OpenSSL 1.0 specific symbols needs libssl1.0-dev on 
Debian.

Amos


More information about the squid-users mailing list