From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 16:16:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98DB916A4DD for ; Fri, 8 Sep 2006 16:16:45 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD0B43D46 for ; Fri, 8 Sep 2006 16:16:45 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by wr-out-0506.google.com with SMTP id 68so200807wri for ; Fri, 08 Sep 2006 09:16:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CN42yq65yySQgruttXYzo53DC3cir17KPaZCMn8kVTiwtH3QUaOiJg6gIX1KT3+x3y8VNCdVO1naVolSSPHebCTxqfPbENFDi/JXTCQj3maekF564YidVAJ0WlB2rSxo+fs6WpmtpcwqjoDB7tNm4Lf6FLkDhBHSW4oj3NqGqpk= Received: by 10.90.113.20 with SMTP id l20mr876290agc; Fri, 08 Sep 2006 09:16:43 -0700 (PDT) Received: by 10.90.113.5 with HTTP; Fri, 8 Sep 2006 09:16:43 -0700 (PDT) Message-ID: <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> Date: Fri, 8 Sep 2006 17:16:43 +0100 From: "mal content" To: freebsd-hackers@freebsd.org In-Reply-To: <20060906192028.GA21278@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060906192028.GA21278@xor.obsecurity.org> Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 16:16:45 -0000 On 06/09/06, Kris Kennaway wrote: > On Wed, Sep 06, 2006 at 07:18:18PM +0000, Edward B. DREGER wrote: > > Greetings all, > > > > > > I'd been going nuts trying to determine why I couldn't link against > > "libdb-4.4.so" and a few other libraries. The ones in question didn't > > show up via > > > > ldconfig -r > > > > although their respective directories _were_ found. (Yes, I even ran > > "ldconfig -R" for good measure.) ldconfig seems to "skip" libraries not > > of the form > > > > m/.+\.so\.[0-9]+/ > > > > i.e., > > > > libfoo.so.1 > > > > is found, but > > > > libbar.so > > libsnuzzlycat.so.5.5 > > > > are not. > > > > Bug or feature? > > Feature. > > > Is this what I get for straying from ports/packages? > > ;-) > > Probably. > Some ports do seem to use this format: $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' libopenal.so.0.0.8 libportaudio.so.0.0.18 $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' libqt-mt.so.3.3 libqt-mt.so.3.3.5 libqui.so.1.0 libqui.so.1.0.0 Are you sure this format isn't legal? MC