On 2016-10-11 08:42, Alex Rousskov wrote:
On 10/11/2016 06:54 AM, James Lay wrote:
EXT_LIBECAP_CFLAGS="-I/opt/ecap/include"
EXT_LIBECAP_LIBS="-L/opt/ecap/lib" ./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
Your Squid executable is not linked with libecap, resulting in
undefined
references to libecap symbols:
/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall
-Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe
-D_REENTRANT -m64 -g -O2 -march=native -std=c++11 -export-dynamic
-dlopen force -m64 -g -o squid
<snipped many lines without -lecap, libecap, or equivalent>
adaptation/.libs/libadaptation.a(libsquid_ecap_la-Host.o):
undefined reference to `libecap::headerTransferEncoding'
I am not sure why Your Squid executable is not linked with libecap, but
I suspect that manually setting EXT_LIBECAP_CFLAGS and EXT_LIBECAP_LIBS
confuses ./configure. You should not set those variables manually and
let Squid compute them automatically instead. You may need to set
PKG_CONFIG_PATH if Squid cannot find libecap.pc without it.
HTH,
Alex.
P.S. I assume you meant to type "3.5.20" in the Subject
Thanks Alex...and yes indeed...meant 3.5.20. Can you point me in the
right direction on where to tell squid that libecap lives in /opt/ecap?
I'll give the pkg-config a go as well.
James
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users