[MacPorts] #51073: squid clang linking fails with openssl variant

MacPorts noreply at macports.org
Wed Apr 6 06:56:48 PDT 2016

#51073: squid clang linking fails with openssl variant
 Reporter:  s.t.smith@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.4
 Keywords:               |       Port:  squid
 `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
 :info:build make[2]: *** [all-recursive] Error 1

Ticket URL: <https://trac.macports.org/ticket/51073>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list