From owner-freebsd-current@FreeBSD.ORG Mon Sep 13 23:08:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22F2416A4CE for ; Mon, 13 Sep 2004 23:08:32 +0000 (GMT) Received: from epita.fr (hermes.epita.fr [163.5.255.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D06343D48 for ; Mon, 13 Sep 2004 23:08:31 +0000 (GMT) (envelope-from le-hen_j@epita.fr) Received: from garak (garak [10.42.25.5]) by epita.fr id i8DN8EC09635 Tue, 14 Sep 2004 01:08:14 +0200 (CEST) Date: Tue, 14 Sep 2004 01:08:15 +0200 From: Jeremie Le Hen To: Sean McNeil Message-ID: <20040913230815.GB16110@garak.epita.fr> References: <1095106952.9560.14.camel@server.mcneil.com> <20040913235337.Y8412@fw.reifenberger.com> <1095115132.3305.3.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1095115132.3305.3.camel@server.mcneil.com> User-Agent: Mutt/1.4i cc: Michael Reifenberger cc: freebsd-current@freebsd.org Subject: Re: bad shared library ordering X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 13 Sep 2004 23:08:32 -0000 > This isn't what I was alluding to. Yes, since I discovered this I've > deleted the package and I'm rebuilding everything. Don't even need > WITH_OPENSSL_BASE set. I think the issue is that, perhaps, rpath is > being used and so the /usr/local/lib version wins. If this is the case > then I see nothing wrong and I just need to do some cleanup. I suppose you know about the /etc/ld-elf.so.conf file described in section FILES of ldconfig(8) manual page ; but the granularity is unfortunately per-directory, and I think the only way to link with a specific library instead of the first-coming one is to use tricky options of ld(1). You may want to see -l and the -L one. -- Jeremie LE HEN aka TtZ/TataZ jeremie.le-hen@epita.fr ttz@epita.fr Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!