Opened 9 years ago

Closed 9 years ago

#51073 closed defect (fixed)

squid @2.7.STABLE9 linking fails due to SSLv2 use

Reported by: essandess (Steve Smith) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: squid

Description

sudo port selfupdate ; sudo port clean --dist squid ; sudo port upgrade squid fails with:

:info:build /usr/bin/clang  -pipe -Os -arch x86_64 -D_REENTRANT  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -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 client_side_rewrite.o client_side_storeurl_rewrite.o comm.o comm_kqueue.o debug.o delay_pools.o disk.o dns_internal.o errorpage.o event.o errormap.o external_acl.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  locrewrite.o logfile.o logfile_mod_daemon.o logfile_mod_stdio.o logfile_mod_syslog.o logfile_mod_udp.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_monitor.o peer_select.o peer_sourcehash.o peer_userhash.o redirect.o store_rewrite.o referer.o refresh.o refresh_check.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 store_update.o tools.o unlinkd.o url.o urn.o useragent.o wccp.o wccp2.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/libufs.a fs/libaufs.a fs/libdiskd.a fs/libcoss.a fs/libnull.a auth/libnegotiate.a auth/libntlm.a auth/libdigest.a auth/libbasic.a -L/opt/local/lib -lssl -lcrypto -lmiscutil -lpthread -lm  
:info:build Undefined symbols for architecture x86_64:
:info:build   "_SSLv2_client_method", referenced from:
:info:build       _sslCreateClientContext in ssl_support.o
:info:build   "_SSLv2_server_method", referenced from:
:info:build       _sslCreateServerContext in ssl_support.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [squid] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_squid/squid/work/squid-2.7.STABLE9/src'
:info:build make[2]: *** [all-recursive] Error 1

Change History (4)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: jmr@… openmaintainer@… removed
Owner: changed from macports-tickets@… to jmr@…

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Yeah, I guess SSLv2 isn't off by default in this old version. You should really switch to squid3 if possible, if you're not aware.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Summary: squid clang linking fails with openssl variantsquid @2.7.STABLE9 linking fails due to SSLv2 use

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.