[squid-users] Squid 2.5.20 fails to compile with ecap

James Lay jlay at slave-tothe-box.net
Tue Oct 11 20:21:53 UTC 2016


On 2016-10-11 10:52, Alex Rousskov wrote:
> On 10/11/2016 08:45 AM, James Lay wrote:
>> Can you point me in the right direction on where to tell squid that
>> libecap lives in /opt/ecap?
> 
> This is not my area of expertise, but if ./configure --enable-ecap does
> not work "as is", then you may need to set PKG_CONFIG_PATH
> appropriately. For example:
> 
>   export PKG_CONFIG_PATH=...
>   ./configure --enable-ecap ...
> 
> Alex.

Last word on this...config line:

./configure --prefix=/opt --with-openssl=/opt/libressl --enable-ssl 
--enable-ssl-crtd --enable-linux-netfilter 
--enable-follow-x-forwarded-for --with-large-files 
--sysconfdir=/opt/etc/squid --enable-xternal-acl-helpers=none 
--enable-ecap

Symlinking the libecap.pc, /opt/ecap/lib/pkgconfig/libecap.pc to 
/usr/lib/x86_64-linux-gnu/pkgconfig/ did the trick...thanks so much!

James


More information about the squid-users mailing list