From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 11:30:31 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7ED91065674 for ; Wed, 25 Jul 2012 11:30:31 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2998FC1E for ; Wed, 25 Jul 2012 11:30:31 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1StznS-0003n6-Io for freebsd-current@freebsd.org; Wed, 25 Jul 2012 12:30:30 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1StznS-0007nA-60 for freebsd-current@freebsd.org; Wed, 25 Jul 2012 12:30:30 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6PBUTQ3027928 for ; Wed, 25 Jul 2012 12:30:29 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6PBUTHn027925 for freebsd-current@freebsd.org; Wed, 25 Jul 2012 12:30:29 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 25 Jul 2012 12:30:29 +0100 From: Anton Shterenlikht To: freebsd-current@freebsd.org Message-ID: <20120725113029.GA11089@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: openssl upgrade, libcrypto, libssl confusion X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 25 Jul 2012 11:30:32 -0000 In /usr/src/UPDATING I see 20120712: The OpenSSL has been upgraded to 1.0.1c. Any binaries requiring libcrypto.so.6 or libssl.so.6 must be recompiled. Also, there are configuration changes. Make sure to merge /etc/ssl/openssl.cnf. Looking at this: # make -C /usr/src check-old-libs >>> Checking for old libraries /lib/libcrypto.so.6 /usr/lib/libssl.so.6 # Am I correct that these 2 libraries can be safely deleted? However, I can't see any version 7 of these libs. Have these libs been replaced by some other lib? Finally, I've rebuilt mail/fetchmail and mail/mutt already several times, but the binaries still use these 2 libs: TZAV> ldd /usr/local/bin/mutt /usr/local/bin/mutt: libncursesw.so.8 => /lib/libncursesw.so.8 (0x1202f6000) libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x1203aa000) libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x1203ca000) libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x1203e4000) libhx509.so.11 => /usr/lib/libhx509.so.11 (0x1204c6000) libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x120550000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x120562000) ^^^^^^^^^^^^^^^ libasn1.so.11 => /usr/lib/libasn1.so.11 (0x120812000) libwind.so.11 => /usr/lib/libwind.so.11 (0x120918000) libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x120952000) libroken.so.11 => /usr/lib/libroken.so.11 (0x120968000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x120996000) libssl.so.6 => /usr/lib/libssl.so.6 (0x1209d0000) ^^^^^^^^^^^^^^^ libz.so.6 => /lib/libz.so.6 (0x120a72000) libintl.so.9 => /usr/local/lib/libintl.so.9 (0x120aaa000) libthr.so.3 => /lib/libthr.so.3 (0x120acc000) libc.so.7 => /lib/libc.so.7 (0x120b1a000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x120dca000) TZAV> TZAV> ldd /usr/local/bin/fetchmail /usr/local/bin/fetchmail: libopie.so.7 => /usr/lib/libopie.so.7 (0x120100000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x12011e000) libkvm.so.5 => /lib/libkvm.so.5 (0x120158000) libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x120178000) libssl.so.6 => /usr/lib/libssl.so.6 (0x12018a000) ^^^^^^^^^^^^^^^ libcrypto.so.6 => /lib/libcrypto.so.6 (0x12022c000) ^^^^^^^^^^^^^^^ libc.so.7 => /lib/libc.so.7 (0x1204dc000) libmd.so.6 => /lib/libmd.so.6 (0x12078c000) TZAV> Or will the new library (what is it?) will not be used unless I delete the old ones? Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423