From owner-freebsd-current@freebsd.org Sun Oct 14 16:43:43 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B8DB10DAA2B for ; Sun, 14 Oct 2018 16:43:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81C4C91DC3; Sun, 14 Oct 2018 16:43:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id BjUKgzGS9K9FDBjULgTOxs; Sun, 14 Oct 2018 10:43:34 -0600 X-Authority-Analysis: v=2.3 cv=Gvz2BX9C c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=smKx5t2vBNcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=WKdhvMRz3QSzhpQr6T0A:9 a=qh1F3PxyI3hblXPO:21 a=ob_neiAig5QZ2qoc:21 a=CjuIK1q_8ugA:10 a=cDz_6ZvqRO7EuDaGw8oA:9 a=7rwe7-AWj2PmWTey:21 a=RM_jrwSvrubpGm7_:21 a=97Bw1lP2S6xzA56E:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [25.82.157.51] (unknown [24.244.29.167]) by spqr.komquats.com (Postfix) with ESMTPSA id 4972229CD; Sun, 14 Oct 2018 09:43:31 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: OpenSSL 1.1.1 libssl.so version number Date: Sun, 14 Oct 2018 10:43:40 -0600 To: Don Lewis , FreeBSD current CC: "re@FreeBSD.org" Message-Id: <20181014164331.4972229CD@spqr.komquats.com> X-CMAE-Envelope: MS4wfNu1TxUlv+DeYAhycJDRmJb4w8GOPgnyjJ+HelrgKimc+6Eeg05BCk0/bCI2JZFRYbRMXRlYm3hvMSua0ALCrNif5oDLYNHF30TIEODOpfWBiTrHSpEY dRrv/4MWgYrDpEQ5M3Z3padavT3tcb2f1TbfZou1MLEDxeUGxZPnfdNn5z2olFHD4ZMyk6tL7aISQ+d8cRFIvCJ/CrfXO+vmfPHJy1l2cfId00YfRlh7lSeb LGZVfAodwi9dVeBrHOtS5A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2018 16:43:43 -0000 Not necessarily 12. ports/openssl111 should have the same ABI as HEAD so th= ey should share the same version number. The fact that openssl111 in HEAD a= nd openssl 1.0.2 in ports share the same version number but do not share th= e same ABI is the problem. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Don Lewis Sent: 14/10/2018 09:06 To: FreeBSD current Cc: re@FreeBSD.org Subject: Re: OpenSSL 1.1.1 libssl.so version number On 12 Oct, Don Lewis wrote: > Prior to the OpenSSL 1.1.1 import, the base OpenSSL library was > /usr/lib/libssl.so.8. The security/openssl port (1.0.2p) installed > ${LOCALBASE}/lib/ilbssl.so.9 and the security/openssl-devel port > (1.1.0i) installed ${LOCALBASE}/lib/libssl.so.11. After the import, the > base OpenSSL library is /usr/lib/libssl.so.9. Now if you build ports > with DEFAULT_VERSIONS+=3Dssl=3Dopenssl, the library that actually gets us= ed > is ambiguous because there are now two different versions of libssl.so > (1.0.2p and 1.1.1) with the same shared library version number. >=20 > I stumbled across this when debugging a virtualbox-ose configure > failure. The test executable was linked to the ports version of > libssl.so but rtld chose the base libssl.so at run time. It looks to me like the base libssl.so version needs to get moved to a value that doesn't collide with ports, perhaps 12. These are the library version numbers currently used by the various ssl ports: boringssl 1 openssl 9 openssl-devel 10 openssl111 11 libressl 43 libressl-devel 44 _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"