On 28.05.2012 07:31, Linos wrote:
Hi,
i am using Ubuntu Server 12.04 with libssl-dev 1.0.1 and i can't
compile
squid, i have downloaded the last daily auto-generated release (that
should have
this bug fixed) but i still have the same problem.
./configure --enable-ssl --enable-ssl-crtd
make
....(after a while)
/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall
-Wpointer-arith
-Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -g -O2
-g -o
ssl_crtd ssl_crtd.o certificate_db.o -lssl -lcrypto -lsslutil
../../compat/libcompat.la ../../lib/libmiscutil.a
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror
-fhuge-objects -D_REENTRANT -g -O2 -g -o ssl_crtd ssl_crtd.o
certificate_db.o
-lssl -lcrypto -lsslutil ../../compat/.libs/libcompat.a
../../lib/libmiscutil.a
g++: warning: switch '-fhuge-objects' is no longer supported
/usr/bin/ld: cannot find -lsslutil
collect2: ld returned 1 exit status
I have tried to add .libs/libsslutil.a to the linker line in
src/ssl/Makefile
the direct path .libs/libsslutil.a but i get the original bug error
after this
The dependencies seem a bit out of sync with the library linkage order.
I think it should actually be "ssl/libsslutil.la $(SSLLIB)"
Amos