<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#464646" bgcolor="#FFFFFF">
<font face="monospace">Thanks Alex<br>
<br>
It Works by adding </font> --without-gnutls <font
face="monospace">!<br>
</font><br>
<div class="moz-cite-prefix">Le 21/08/2024 à 16:02, Alex Rousskov a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:d6c3f8fe-1b9e-41c3-8e5a-cd6f5fbeac9d@measurement-factory.com">On
2024-08-21 09:37, David Touzeau wrote:
<br>
<blockquote type="cite">Configure:
<br>
./configure --prefix=/usr --build=x86_64-linux-gnu
--includedir=/include --mandir=/share/man --infodir=/share/info
--localstatedir=/var --libexecdir=/lib/squid3
--disable-maintainer-mode --disable-dependency-tracking
--datadir=/usr/share/squid3 --sysconfdir=/etc/squid3
--enable-gnuregex --enable-removal-policy=heap
--enable-follow-x-forwarded-for --disable-cache-digests
--enable-http-violations --enable-removal-policies=lru,heap
--enable-arp-acl --enable-truncate --with-large-files
--with-pthreads --enable-esi
--enable-storeio=aufs,diskd,ufs,rock --enable-x-accelerator-vary
--with-dl--enable-linux-netfilter --with-netfilter-conntrack
--enable-wccpv2 --enable-eui --enable-auth --enable-auth-basic
--enable-snmp --enable-icmp --enable-auth-digest
--enable-log-daemon-helpers --enable-url-rewrite-helpers
--enable-auth-ntlm --with-default-user=squid
--enable-icap-client --disable-cache-digests --enable-poll
--enable-epoll --enable-async-io=128 --enable-zph-qos
--enable-delay-pools --enable-http-violations --enable-url-maps
--enable-ecap --enable-ssl --with-openssl --enable-ssl-crtd
--enable-xmalloc-statistics --enable-ident-lookups
--with-filedescriptors=163840 --with-aufs-threads=128
--disable-arch-native --with-logdir=/var/log/squid
--with-pidfile=/var/run/squid/squid.pid
--with-swapdir=/var/cache/squid
<br>
<br>
<br>
Hi, after the make install got
<br>
<br>
/bin/bash ../../../../libtool --tag=CXX --mode=link g++
-std=c++17 -Wall -Wextra -Wimplicit-fallthrough=5
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow
-Wmissing-declarations -Woverloaded-virtual -Werror -pipe
-D_REENTRANT -m64 -I/usr/include/p11-kit-1 -g -O2 -m64 -g
-o security_file_certgen certificate_db.o
security_file_certgen.o ../../../../src/ssl/libsslutil.la
../../../../src/sbuf/libsbuf.la
../../../../src/debug/libdebug.la
../../../../src/error/liberror.la
../../../../src/comm/libminimal.la
../../../../src/mem/libminimal.la
../../../../src/base/libbase.la ../../../../src/time/libtime.la
-lssl -lcrypto -lgnutls ../../../../compat/libcompatsquid.la
<br>
libtool: link: g++ -std=c++17 -Wall -Wextra
-Wimplicit-fallthrough=5 -Wpointer-arith -Wwrite-strings
-Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual
-Werror -pipe -D_REENTRANT -m64 -I/usr/include/p11-kit-1 -g -O2
-m64 -g -o security_file_certgen certificate_db.o
security_file_certgen.o ../../../../src/ssl/.libs/libsslutil.a
../../../../src/sbuf/.libs/libsbuf.a
../../../../src/debug/.libs/libdebug.a
../../../../src/error/.libs/liberror.a
../../../../src/comm/.libs/libminimal.a
../../../../src/mem/.libs/libminimal.a
../../../../src/base/.libs/libbase.a
../../../../src/time/.libs/libtime.a -lssl -lcrypto -lgnutls
../../../../compat/.libs/libcompatsquid.a
<br>
/usr/bin/ld:
../../../../src/ssl/.libs/libsslutil.a(crtd_message.o): in
function
`Ssl::CrtdMessage::composeRequest(Ssl::CertificateProperties
const&)':
<br>
/root/squid-6.10/src/ssl/crtd_message.cc:248: undefined
reference to `EVP_MD_type'
<br>
<br>
How i can fix it ?
<br>
</blockquote>
<br>
It looks like your Squid is being built with both GnuTLS (bad
default) and OpenSSL (explicitly requested) support enabled at the
same time. I doubt Squid code handles that combination well.
<br>
<br>
As a workaround, try adding --without-gnutls to ./configure
options.
<br>
<br>
<br>
HTH,
<br>
<br>
Alex.
<br>
<br>
_______________________________________________
<br>
squid-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.squid-cache.org/listinfo/squid-users">https://lists.squid-cache.org/listinfo/squid-users</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
David Touzeau - Artica Tech France
Development team, level 3 support
----------------------------------
P: +33 6 58 44 69 46
www: <a class="moz-txt-link-freetext" href="https://wiki.articatech.com">https://wiki.articatech.com</a>
www: <a class="moz-txt-link-freetext" href="http://articatech.net">http://articatech.net</a> </pre>
</body>
</html>