[squid-users] Squid 3.5.20 compile issue

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 20 10:18:22 UTC 2016


On 20/09/2016 1:35 p.m., LYMN wrote:
> On Mon, Sep 19, 2016 at 07:20:14PM -0600, James Lay wrote:
>>
>> Well last word on this...squid starts but dies with:
>> /squid: symbol lookup error: ./squid: undefined symbol:
>> SSL_set_alpn_protos
>> So at this point I'll just go back to linking to libressl.  Thanks all.
>>
> 
> 
> What does a "ldd squid" output?  You have built your openssl libraries
> to a non-standard place so perhaps squid cannot find them at run time?
> If this was the case then you either need to use LD_LIBRARY_PATH at run
> time or set LDFLAGS="-L/opt/openssl/lib -Wl,-R/opt/openssl/lib" at squid
> configure time.
> 

Or just pass the Squid ./configure --with-openssl=/opt/openssl option.
Which will point Squid compiler at all the locations it needs for
correct symbols, dependecncies, include headers, etc. for the OpenSSL
version.

Amos



More information about the squid-users mailing list