[squid-users] squid 3.2.5 helpers/external_acl/session compile problem

johnzeng johnzeng2013 at yahoo.com
Sat Mar 14 12:34:27 UTC 2015


Hello All:

I try to compile helpers/external_acl/session too , and Db evirontment
is db-4.8.30 ( Berkeley DB) , Maybe it will be caused by error Bdb version .

But i can't confirm .

./configure --prefix=/accerater/webcache3
--enable-follow-x-forwarded-for --enable-snmp --enable-linux-netfilter
--enable-storeio=aufs,rock --enable-wccpv2 --with-large-files
--enable-removal-policies=lru,heap --enable-async-io=128
--enable-http-violations --with-maxfd=65536 --enable-large-cache-files
--enable-delay-pools --enable-forward-log --with-pthreads
LIBS=-ltcmalloc --enable-url-rewrite-helpers --enable-log-daemon-helpers
--enable-epoll --enable-ltdl-convenience --with-included-ltdl
--enable-disk-io=AIO,Blocking,DiskThreads,IpcIo,Mmapped
CXXFLAGS="-I/accerater/env/ldap/include -I/accerater/env/bdb/include"
LDFLAGS="-L/accerater/env/ldap/lib -L/accerater/env/bdb/lib"


This is error compile info

libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Wshadow -Werror -pipe -D_REENTRANT -m32 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/accerater/env/bdb/include -march=native -m32
-o ext_session_acl ext_session_acl.o -L/accerater/env/bdb/lib
../../../compat/.libs/libcompat-squid.a
ext_session_acl.o: In function `init_db()':
ext_session_acl.cc:(.text+0x5a): undefined reference to `db_env_create'
ext_session_acl.cc:(.text+0x101): undefined reference to `db_create'
ext_session_acl.cc:(.text+0x1d6): undefined reference to `db_create'



More information about the squid-users mailing list