[squid-users] Squid 3 PRE 3 on Debian Woody Compile erros when using --enable-s sl

From: Andrew Jackman <andrewj@dont-contact.us>
Date: Tue, 27 Apr 2004 10:12:44 +1000

Hello There,
 
I am getting some frustrating errors when trying to compile Squid 3 PRE 3 on
Debian 3 (Woody) when I try to enable ssl support. I am using openssl
openssl-0.9.7c, Debian Kernel 2.4.18-bf2.4.

I have searched the web... inc Google and the closest thing I could find was
this http://www.squid-cache.org/mail-archive/squid-users/200203/0961.html
but it is for 2.5... I tried putting -ldl after -lcrypto in src/Makefile
(SSLLIB = -lssl -lcrypto -ldl)...

This has really stumped me. I really need v3 as I want to set it up to
reverse proxy Exchange 2003 Server for WebMail...

I configure like this:
./configure --prefix=/usr/local/squid --enable-ssl

Here is the output from make:

g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wcomments -g -O2 -g -o squid access_log.o acl.o ACLChecklist.o ACLASN.o
ACLBrowser.o ACLDestinationDomain.o ACLDestinationIP.o ACLDomainData.o
ACLExtUser.o ACLIntRange.o ACLIP.o ACLMaxConnection.o ACLMaxUserIP.o
ACLMethod.o ACLMethodData.o ACLMyIP.o ACLMyPort.o ACLProtocol.o
ACLProtocolData.o ACLProxyAuth.o ACLReferer.o ACLRegexData.o
ACLReplyMIMEType.o ACLRequestMIMEType.o ACLSourceDomain.o ACLSourceIP.o
ACLStrategised.o ACLStringData.o ACLTime.o ACLTimeData.o ACLUrl.o
ACLUrlPath.o ACLUrlPort.o ACLUserData.o asn.o authenticate.o cache_cf.o
CacheDigest.o cache_manager.o carp.o cbdata.o client_db.o client_side.o
client_side_reply.o client_side_request.o clientStream.o comm.o
comm_select.o comm_poll.o comm_kqueue.o debug.o disk.o dns_internal.o
errorpage.o ETag.o event.o external_acl.o ExternalACLEntry.o fd.o fde.o
filemap.o forward.o fqdncache.o ftp.o gopher.o helper.o http.o
HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o
HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o
HttpReply.o HttpRequest.o icmp.o icp_v2.o icp_v3.o ACLIdent.o ident.o int.o
internal.o ipc.o ipcache.o IPInterception.o logfile.o main.o mem.o
mem_node.o MemBuf.o MemObject.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 SquidNew.o tunnel.o ACLCertificateData.o ACLCertificate.o
ssl_support.o stat.o StatHist.o String.o stmem.o store.o StoreFileSystem.o
store_io.o StoreIOState.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 StoreMeta.o StoreMetaMD5.o StoreMetaSTD.o
StoreMetaUnpacker.o StoreMetaURL.o StoreMetaVary.o StoreSwapLogData.o
SwapDir.o tools.o ufscommon.o unlinkd.o url.o urn.o useragent.o wais.o
wccp.o whois.o repl_modules.o auth_modules.o globals.o string_arrays.o
-L../lib repl/liblru.a fs/ufs/StoreFSufs.o fs/libufs.a auth/libbasic.a
-lcrypt -lssl -lcrypto -lmiscutil -lm -lresolv -lnsl
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x4a): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x78): undefined reference to `dlerror'
dso_dlfcn.o(.text+0xe9): undefined reference to `dlclose'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b6): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x1e2): undefined reference to `dlerror'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x2c6): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x2f2): undefined reference to `dlerror'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x517): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/src/squid-3.0-PRE3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/squid-3.0-PRE3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/squid-3.0-PRE3/src'
make: *** [all-recursive] Error 1

Any help/suggestions would be great.

Thankyou in advance,

Andrew

======Disclaimer======

"The information transmitted in this Email is intended only for the person or entity to which it is addressed. This email may
contain confidential or privileged information. If you are not the intended recipient, any use, reproduction, dissemination, r
e-transmission or action taken in reliance on this Email is strictly prohibited. If you have received this Email in error, ple
ase contact the sender and delete this material from your computer.

The organization will not accept any liability for materials transmitted via the Internet that are intentionally or unintentio
nally offensive to the reader.

This Email must not be forwarded to others unless expressly authorised in this Email. Any reply to this Email must only be to
the author, unless reply to others is expressly authorised in this Email."
Received on Mon Apr 26 2004 - 18:12:38 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT