From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 18:44:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5968216A4CE for ; Wed, 29 Dec 2004 18:44:11 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2730E43D5A for ; Wed, 29 Dec 2004 18:44:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10845 invoked from network); 29 Dec 2004 18:44:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Dec 2004 18:44:10 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2A0756B; Wed, 29 Dec 2004 13:44:10 -0500 (EST) Sender: lowell@be-well.ilk.org To: Robert Huff References: <16850.9035.858785.417563@jerusalem.litteratus.org> From: Lowell Gilbert Date: 29 Dec 2004 13:44:09 -0500 In-Reply-To: <16850.9035.858785.417563@jerusalem.litteratus.org> Message-ID: <44fz1px7uu.fsf@be-well.ilk.org> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: superfluous libraries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 18:44:11 -0000 Robert Huff writes: > While running portsclean I got this: > > Cleaning out /usr/ports/packages... > ** /usr/local/lib/libcrypto.so.3 is shadowed by /lib/libcrypto.so.3 > /lib/libcrypto.so.3 <- ? > /usr/local/lib/libcrypto.so.3 <- openssl-0.9.7e_1 > --> This may be an undesirable situation > Leave /lib/libcrypto.so.3 (specify -i to ask on this) > > ** /usr/local/lib/libssl.so.3 is shadowed by /usr/lib/libssl.so.3 > /usr/lib/libssl.so.3 <- ? > /usr/local/lib/libssl.so.3 <- openssl-0.9.7e_1 > --> This may be an undesirable situation > Leave /usr/lib/libssl.so.3 (specify -i to ask on this) > > Is there any reason not to delete the versions that came from > openssl-0.9.7e_1? Obviously I don't want to delete the port, but > these particular files? It sounds like you don't want to use the port's version of the libraries. If that's the case, you *can* delete the port. If you want to be using the port, you could remove the base system's copies (or overwrite them; I think the port has a knob to do that). If you want to sometimes use one and sometimes the other, then the easiest course is probably to set LD_LIBRARY_PATH accordingly.