From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 17:45:44 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 236B8F36 for ; Wed, 10 Jun 2015 17:45:44 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF9D91BDA for ; Wed, 10 Jun 2015 17:45:43 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 01E8C20AEA3A; Wed, 10 Jun 2015 18:45:38 +0100 (BST) Date: Wed, 10 Jun 2015 18:45:38 +0100 From: Matt Smith To: dweimer@dweimer.net Cc: FreeBSD Questions Subject: Re: Squid 3.5.5 Port Update, with SSL Message-ID: <20150610174538.GE44513@xtaz.uk> Mail-Followup-To: Matt Smith , dweimer@dweimer.net, FreeBSD Questions References: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <92391b32d330c3cb4f474a6ccb96cdc4@dweimer.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 17:45:44 -0000 On Jun 10 10:30, dweimer wrote: >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. > >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 Yes. It worked fine for me. To begin with it errored out instantly telling me that I had to select at least one of the SSL options. So I ran make config and noticed the SSL options at the bottom. Selected OpenSSL and ran the upgrade again. Everything compiled and installed fine and I've been using it since. I'm using FreeBSD 10.1-STABLE r283027 dated from May 17th and I have the OpenSSL 1.0.2 port installed. -- Matt