[squid-users] Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611

Alex Rousskov rousskov at measurement-factory.com
Mon Jun 12 16:49:37 UTC 2017


On 06/12/2017 10:36 AM, Norbert Naveen wrote:
> I have CentOS Linux release 7.3.1611 64 bit

> cd libecap-1.0.1
> ./configure 'CXXFLAGS=-O2 -m64 -pipe' 'CFLAGS=-O2 -m64 -pipe'
> gmake
> gmake install-strip


> cd squid-3.5.26
> ./configure '--enable-ecap' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig'
> make

> Towards the end receive the error as below . Attaching the complete
> /root/install/squid-3.5.26/src/adaptation/ecap/Host.cc:41: undefined
> reference to `libecap::headerTransferEncoding'

It looks like Squid found eCAP header files but did not find libecap.
Posting ./configure output and the failed linker command (should be
right above the first "undefined reference" error) may help triage this
further. Linking to a complete build log (starting with ./configure) may
reduce the number of follow up questions.

Also, what does /usr/local/lib/pkgconfig/libecap.pc contain?

HTH,

Alex.


More information about the squid-users mailing list