[squid-users] Accelerated SSL under Linux using squid 2.5PRE3

From: Peter Robinson <[email protected]>
Date: Thu, 7 Feb 2002 11:40:49 +0800

Hi All,

I'm having problems compiling --enable-ssl under both Redhat 7.2 and 6.2
(both with
openssl 0.9.6b), Has anyone run into this before? I've included some stuff
below, I haven't tried a different version of openssl but its only one minor
release behide the the latest (last time I looked was 0.9.6c). Any ideas?

I've put it into bugzilla as I think its a bug but was wondering if any one
else managed to get it working as I need to implement it, or a work around
for a project shortly.

Regards
Peter

In both cases it complains about undefined reference to dlclose, dlopen,
dlsym
in regards to the libcrypto library.

The ./configure options used are:-

./configure --exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squi
d
--localstatedir=/var --sysconfdir=/etc/squid --enable-poll --enable-snmp
--enable-removal-policies="heap,lru" --enable-storeio="aufs,diskd,ufs"
--enable-delay-pools --enable-linux-netfilter --enable-htcp --enable-carp
--with-pthreads
--enable-basic-auth-helpers="LDAP,NCSA,PAM,SMB,MSNT,multi-domain-NTLM"
--enable-ntml-auth-helpers="fakeauth,no_check,NTLMSSP" --enable-ssl --enable
-icmp

And the output from the compiler is:-
gcc -g -O2 -Wall -D_REENTRANT -g -o squid access_log.o acl.o asn.o
authenticate.o cache_cf.o CacheDigest.o cache_manager.o carp.o cbdata.o
client_db.o client_side.o comm.o comm_select.o debug.o delay_pools.o disk.o
dns_internal.o errorpage.o ETag.o event.o fd.o filemap.o forward.o
fqdncache.o
ftp.o gopher.o helper.o htcp.o http.o HttpStatusLine.o HttpHdrCc.o
HttpHdrRange.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o
HttpMsg.o HttpReply.o HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o
internal.o
ipc.o ipcache.o logfile.o main.o mem.o MemPool.o MemBuf.o mime.o
multicast.o
neighbors.o net_db.o Packer.o pconn.o peer_digest.o peer_select.o redirect.o
referer.o refresh.o send-announce.o snmp_core.o snmp_agent.o ssl.o
ssl_support.o
stat.o StatHist.o String.o stmem.o store.o store_io.o store_client.o
store_digest.o store_dir.o store_key_md5.o store_log.o store_rebuild.o
store_swapin.o store_swapmeta.o store_swapout.o tools.o unlinkd.o url.o
urn.o
useragent.o wais.o wccp.o whois.o repl_modules.o auth_modules.o
store_modules.o
globals.o string_arrays.o -L../lib repl/libheap.a repl/liblru.a fs/libaufs.a
fs/libdiskd.a fs/libufs.a
auth/libbasic.a -lcrypt -lpthread -L../snmplib -lsnmp
-lssl -lcrypto -lmiscutil -lm -lresolv -lbsd -lnsl
/usr/bin/../lib/libcrypto.so: undefined reference to `dlclose'
/usr/bin/../lib/libcrypto.so: undefined reference to `dlopen'
/usr/bin/../lib/libcrypto.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/squid-2.5.PRE3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/squid-2.5.PRE3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/squid-2.5.PRE3/src'
make: *** [all-recursive] Error 1

--------------------------------------------------------------
Peter Robinson Senior Consultant
Open Systems Support peterr@opensystems.net.au
97 Broadway, Nedlands WA 6009
Ph (08) 92848777 Fax (08) 93869833
Received on Wed Feb 06 2002 - 20:35:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:11 MST