From owner-freebsd-questions@FreeBSD.ORG Tue Apr 24 15:39:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC479106564A for ; Tue, 24 Apr 2012 15:39:35 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB6C8FC0C for ; Tue, 24 Apr 2012 15:39:35 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q3OFdYS9088516 for ; Tue, 24 Apr 2012 10:39:34 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Apr 2012 10:39:34 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.6 Subject: Re: Ports Libraries - Shared object "libz.so.5" not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 15:39:35 -0000 On 24.04.2012 10:07, Carolyn Longfoot wrote: > I'm on 9.0 Release AMD64 and did not have Compat8x installed from > ports which fixed the issue, but I am wondering what (apart from > upgrading *all* ports) would be the correct approach to find out > which > port needs to be updated so that whatever references the libz.so.5 > version instead of libz.so.6 gets updated? > > This is very confusing to me because I got the error with php, and I > am on the very latest php5-5.3.10_1 version which I would expect to > reference current libraries. > > Now I also have a problem with libssl.so.7, which popped up with > Samba36. Again I'm wondering what version provides the .7 > incarnation. > I found a comment (http://forums.freebsd.org/showthread.php?t=21886) > that this library is part of security/openssl but a reinstall just > now > of openssl only gave me libssl.so.8, so that's no longer valid. > Creating a link to libssl.so.7 fixes the problem but is probably not > the correct approach. > > I guess the summary of the above is the question how one should go > about keeping/getting the right library versions. Or is that really a > port problem because they do not keep step with dependencies? > > An explanation in layman's terms would be appreciated :-) > > > Thanks, > > Caro > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" pkg_libchk from the sysutils/bsdadminscripts port should show you anything that is pointing to a missing shared library. Yes you should rebuild the samba36 port so that it links against the new libssl.so.8 library. I ran into a few of these when upgrading from openssl-1.0.0_10 to openssl-1.0.1, I also believe I hit the libcrypto.so.7 missing as well. I temporary linked them as you did, then rebuilt all ports just to be safe. if you use portmaster to update ports, doing a -r on the openssl port would have recompiled all the ports dependent on it. However in my case it blew up because of these missing libraries, adding a -w (causes shared libraries to be kept) as well resolved this on the additional machines I updated. -- Thanks, Dean E. Weimer dweimer@dweimer.net http://www.dweimer.net/