Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2015 10:30:04 -0500
From:      dweimer <dweimer@dweimer.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Squid 3.5.5 Port Update, with SSL
Message-ID:  <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net>

Next in thread | Raw E-Mail | Index | Archive | Help
Has anyone else tried building the Squid Port since the 3.5.5 Update 
with SSL option enabled?

I have tried with OpenSSL from base and ports, dies with the same error 
from either option.

Making all in mgr
Making all in ssl
/bin/sh ../libtool  --tag=CXX    --mode=link c++ -Werror 
-Qunused-arguments  -D_REENTRANT  -I/usr/include -I/usr/local/include   
-O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing  
-I/usr/local/include -export-dynamic -dlopen force -L/usr/lib  -pthread 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector 
-L/usr/local/lib -Wl,-R/usr/local/lib -o squid AclRegs.o AuthReg.o 
AccessLogEntry.o  AsyncEngine.o YesNoNone.o cache_cf.o  CacheDigest.o 
cache_manager.o carp.o  cbdata.o ChunkedCodingParser.o  client_db.o 
client_side.o  client_side_reply.o client_side_request.o  BodyPipe.o 
clientStream.o  CollapsedForwarding.o CompletionDispatcher.o  
ConfigOption.o ConfigParser.o  CpuAffinity.o CpuAffinityMap.o  
CpuAffinitySet.o debug.o delay_pools.o DelayId.o  DelayBucket.o 
DelayConfig.o  DelayPool.o DelaySpec.o DelayTagged.o  DelayUser.o 
DelayVector.o  NullDelayId.o ClientDelayConfig.o  disk.o 
DiskIO/DiskIOModule.o  DiskIO/ReadRequest.o DiskIO/WriteRequest.o 
dlink.o  dns_internal.o DnsLookupDetails.o errorpage.o ETag.o  event.o 
EventLoop.o external_acl.o  ExternalACLEntry.o FadingCounter.o  fatal.o 
fd.o fde.o filemap.o  fqdncache.o FwdState.o gopher.o  helper.o htcp.o 
http.o  HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o  HttpHdrScTarget.o 
HttpHdrContRange.o  HttpHeader.o HttpHeaderTools.o  HttpBody.o HttpMsg.o 
HttpParser.o  HttpReply.o RequestFlags.o  HttpRequest.o 
HttpRequestMethod.o  icp_v2.o icp_v3.o int.o  internal.o ipc.o ipcache.o 
   SquidList.o main.o  MasterXaction.o mem.o mem_node.o  MemBuf.o 
MemObject.o mime.o  mime_header.o multicast.o neighbors.o  Notes.o 
Packer.o Parsing.o   pconn.o peer_digest.o  peer_proxy_negotiate_auth.o 
peer_select.o  peer_sourcehash.o peer_userhash.o  PeerPoolMgr.o 
redirect.o refresh.o  RemovalPolicy.o send-announce.o  MemBlob.o SBuf.o  
SBufExceptions.o SBufDetailedStats.o  SBufStatsAction.o   SquidMath.o 
SquidNew.o stat.o  StatCounters.o StatHist.o String.o  StrList.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  StoreMetaUnpacker.o 
StoreMeta.o StoreMetaMD5.o  StoreMetaSTD.o StoreMetaSTDLFS.o  
StoreMetaURL.o StoreMetaVary.o  StoreStats.o StoreSwapLogData.o  
SwapDir.o Transients.o MemStore.o  time.o tools.o tunnel.o  unlinkd.o 
url.o urn.o wccp.o  wccp2.o whois.o wordlist.o    LoadableModule.o 
LoadableModules.o DiskIO/DiskIOModules_gen.o err_type.o 
err_detail_type.o  globals.o hier_code.o icp_opcode.o  LogTags.o 
lookup_t.o repl_modules.o  swap_log_op.o auth/libacls.la 
ident/libident.la acl/libacls.la  acl/libstate.la auth/libauth.la 
libAIO.a libBlocking.a libIpcIo.a libMmapped.a libDiskThreads.a 
libDiskDaemon.a acl/libapi.la  base/libbase.la libsquid.la ip/libip.la 
fs/libfs.la  ssl/libsslsquid.la  ssl/libsslutil.la ipc/libipc.la 
mgr/libmgr.la anyp/libanyp.la  comm/libcomm.la eui/libeui.la 
helper/libhelper.la  http/libsquid-http.la icmp/libicmp.la 
icmp/libicmp-core.la  log/liblog.la format/libformat.la 
clients/libclients.la  servers/libservers.la ftp/libftp.la   
DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o 
DiskIO/IpcIo/IpcIoDiskIOModule.o DiskIO/Mmapped/MmappedDiskIOModule.o 
DiskIO/DiskThreads/DiskThreadsDiskIOModule.o 
DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o repl/liblru.a repl/libheap.a 
-lrt -lnettle  -lcrypt      parser/libsquid-parser.la  
../lib/libmisccontainers.la  ../lib/libmiscencoding.la  
../lib/libmiscutil.la -L/usr/local/lib -lssl -L/usr/local/lib -lcrypto   
  -L/usr/lib -L/usr/lib -lgssapi -lgssapi_krb5 -lheimntlm -lkrb5 -lhx509 
-lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread 
-L/usr/lib -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase 
-lroken -lcrypt -pthread ../compat/libcompat-squid.la  -lm -lkrb5 
-lgssapi -lgssapi_krb5  -L.. ../libltdl/libltdlc.la
libtool: link: rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
libtool: link: (cd .libs && cc -I/usr/include -O2 -pipe 
-I/usr/local/include -fstack-protector -fno-strict-aliasing 
-I/usr/local/include -c -fno-builtin "squidS.c")
libtool: link: rm -f ".libs/squidS.c" ".libs/squid.nm" ".libs/squid.nmS" 
".libs/squid.nmT"
libtool: link: c++ -Werror -Qunused-arguments -D_REENTRANT 
-I/usr/include -I/usr/local/include -O2 -pipe -I/usr/local/include 
-fstack-protector -fno-strict-aliasing -I/usr/local/include 
.libs/squidS.o -pthread -Wl,-rpath -Wl,/usr/local/lib -fstack-protector 
-Wl,-R/usr/local/lib -o squid AclRegs.o AuthReg.o AccessLogEntry.o 
AsyncEngine.o YesNoNone.o cache_cf.o CacheDigest.o cache_manager.o 
carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o 
client_side_reply.o client_side_request.o BodyPipe.o clientStream.o 
CollapsedForwarding.o CompletionDispatcher.o ConfigOption.o 
ConfigParser.o CpuAffinity.o CpuAffinityMap.o CpuAffinitySet.o debug.o 
delay_pools.o DelayId.o DelayBucket.o DelayConfig.o DelayPool.o 
DelaySpec.o DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o 
ClientDelayConfig.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o 
DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o 
errorpage.o ETag.o event.o EventLoop.o external_acl.o ExternalACLEntry.o 
FadingCounter.o fatal.o fd.o fde.o filemap.o fqdncache.o FwdState.o 
gopher.o helper.o htcp.o http.o HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o 
HttpHdrScTarget.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o 
HttpBody.o HttpMsg.o HttpParser.o HttpReply.o RequestFlags.o 
HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o 
ipc.o ipcache.o SquidList.o main.o MasterXaction.o mem.o mem_node.o 
MemBuf.o MemObject.o mime.o mime_header.o multicast.o neighbors.o 
Notes.o Packer.o Parsing.o pconn.o peer_digest.o 
peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o 
peer_userhash.o PeerPoolMgr.o redirect.o refresh.o RemovalPolicy.o 
send-announce.o MemBlob.o SBuf.o SBufExceptions.o SBufDetailedStats.o 
SBufStatsAction.o SquidMath.o SquidNew.o stat.o StatCounters.o 
StatHist.o String.o StrList.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 StoreMetaUnpacker.o StoreMeta.o 
StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaURL.o 
StoreMetaVary.o StoreStats.o StoreSwapLogData.o SwapDir.o Transients.o 
MemStore.o time.o tools.o tunnel.o unlinkd.o url.o urn.o wccp.o wccp2.o 
whois.o wordlist.o LoadableModule.o LoadableModules.o 
DiskIO/DiskIOModules_gen.o err_type.o err_detail_type.o globals.o 
hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o 
swap_log_op.o DiskIO/AIO/AIODiskIOModule.o 
DiskIO/Blocking/BlockingDiskIOModule.o DiskIO/IpcIo/IpcIoDiskIOModule.o 
DiskIO/Mmapped/MmappedDiskIOModule.o 
DiskIO/DiskThreads/DiskThreadsDiskIOModule.o 
DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o -pthread -pthread 
-Wl,--export-dynamic  
/var/ports/usr/ports/www/squid/work/squid-3.5.5/libltdl/./.libs/dlopen.a 
-L/usr/lib -L/usr/local/lib auth/.libs/libacls.a ident/.libs/libident.a 
acl/.libs/libacls.a acl/.libs/libstate.a auth/.libs/libauth.a libAIO.a 
libBlocking.a libIpcIo.a libMmapped.a libDiskThreads.a libDiskDaemon.a 
acl/.libs/libapi.a base/.libs/libbase.a ./.libs/libsquid.a 
ip/.libs/libip.a fs/.libs/libfs.a ssl/.libs/libsslsquid.a 
ssl/.libs/libsslutil.a ipc/.libs/libipc.a mgr/.libs/libmgr.a 
anyp/.libs/libanyp.a comm/.libs/libcomm.a eui/.libs/libeui.a 
helper/.libs/libhelper.a http/.libs/libsquid-http.a icmp/.libs/libicmp.a 
icmp/.libs/libicmp-core.a log/.libs/liblog.a format/.libs/libformat.a 
clients/.libs/libclients.a servers/.libs/libservers.a ftp/.libs/libftp.a 
repl/liblru.a repl/libheap.a -lrt -lnettle 
parser/.libs/libsquid-parser.a ../lib/.libs/libmisccontainers.a 
../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lssl 
-lheimntlm -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken 
-lcrypt ../compat/.libs/libcompat-squid.a -lm -L.. 
../libltdl/.libs/libltdlc.a -lkrb5 -lgssapi -lgssapi_krb5 -pthread
ssl/.libs/libsslsquid.a(bio.o): In function 
`Ssl::Bio::sslFeatures::applyToSSL(ssl_st*, Ssl::BumpMode) const':
bio.cc:(.text+0x46ca): undefined reference to `SSL_set_alpn_protos'
c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
libtool: link: rm -f ".libs/squidS.o"
*** Error code 1

Stop.
make[5]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src
*** Error code 1

Stop.
make[4]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src
*** Error code 1

Stop.
make[3]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5/src
*** Error code 1

Stop.
make[2]: stopped in /var/ports/usr/ports/www/squid/work/squid-3.5.5
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/squid
*** Error code 1

Stop.
make: stopped in /usr/ports/www/squid


-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?92391b32d330c3cb4f474a6ccb96cdc4>