[squid-users] squid compilation error in Docker
Ivan Larionov
xeron.oskom at gmail.com
Wed Apr 13 22:34:10 UTC 2022
Hi.
I have no issues building squid normally, but when I try to do exactly the
same steps in docker I'm getting the following errors:
https://gist.github.com/xeron/5530fe9aa1f5bdcb6a72c6edd6476467
Example from that log:
cache_cf.o: In function `configFreeMemory()':
/root/build/src/cache_cf.cc:2982: undefined reference to
`Adaptation::Icap::TheConfig'
I can't figure out what exactly is wrong. Doesn't look like any
dependencies are missing.
Here's my build script:
yum install -y autoconf automake file gcc72 gcc72-c++ libtool
libtool-ltdl-devel pkgconfig diffutils \
libxml2-devel libcap-devel openssl-devel
autoreconf -ivf
./configure --program-prefix= --prefix=/usr --exec-prefix=/usr \
--bindir=/usr/sbin --sbindir=/usr/sbin --sysconfdir=/etc/squid \
--libdir=/usr/lib --libexecdir=/usr/lib/squid \
--includedir=/usr/include --datadir=/usr/share/squid \
--sharedstatedir=/usr/com --localstatedir=/var \
--mandir=/usr/share/man --infodir=/usr/share/info \
--enable-epoll --enable-removal-policies=heap,lru \
--enable-storeio=aufs,rock \
--enable-delay-pools --with-pthreads --enable-cache-digests \
--with-large-files --with-filedescriptors=65536 \
--enable-htcp
make -j$(nproc) install DESTDIR=$PWD/_destroot
Any ideas?
--
With best regards, Ivan Larionov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220413/a3ea8f3f/attachment-0001.htm>
More information about the squid-users
mailing list