Re: [squid-users] SSL

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 12:40:52 +0100

We are still working on how to best solve this. For now use the
following workaround.

After running configure, edit src/Makefile and add -ldl after -lcrypto
in the SSL_LIBS line.

Regards
Henrik Nordström
Squid Developer

Pedro Lineu Orso wrote:
>
> Hi,
>
> I am receiving some errors when compiling Squid with --enable-ssl
> option:
>
> gcc -g -O2 -Wall -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 disk.o dns.o errorpage.o ETag.o event.o fd.o filemap.o
> forward.o fqdncache.o ftp.o gopher.o helper.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 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/liblru.a fs/libdiskd.a
> auth/libbasic.a -lcrypt -L/opt/pkg/openssl-engine-0.9.6c/lib -lssl -lcrypto -lmiscutil -lm -lresolv -lbsd -lnsl
> /opt/pkg/openssl-engine-0.9.6c/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
> dso_dlfcn.o(.text+0x77): undefined reference to `dlopen'
> dso_dlfcn.o(.text+0xe3): undefined reference to `dlclose'
> /opt/pkg/openssl-engine-0.9.6c/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
> dso_dlfcn.o(.text+0x1b6): undefined reference to `dlsym'
> /opt/pkg/openssl-engine-0.9.6c/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
> dso_dlfcn.o(.text+0x2a6): undefined reference to `dlsym'
> /opt/pkg/openssl-engine-0.9.6c/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
> dso_dlfcn.o(.text+0x3a5): undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[3]: *** [squid] Error 1
> make[3]: Leaving directory `/opt/pkg/squid-2.5.PRE4-20020225/src'
>
> I am using these options to compile on Mandrake Linux 8.1,
> 2.4.3-20mdk:
>
> --enable-storeio=diskd --disable-internal-dns --enable-ssl --with-openssl=/opt/pkg/openssl-engine-0.9.6c
>
> Any help are welcome.
>
> TIA
>
> Pedro
Received on Tue Mar 26 2002 - 06:13:05 MST

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