From owner-freebsd-current Sat Sep 19 10:46:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25571 for freebsd-current-outgoing; Sat, 19 Sep 1998 10:46:35 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from fep1-orange.clear.net.nz (fep1-orange.clear.net.nz [203.97.32.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25554 for ; Sat, 19 Sep 1998 10:46:33 -0700 (PDT) (envelope-from jabley@buddha.clear.net.nz) Received: from buddha.clear.net.nz (buddha.clear.net.nz [192.168.24.106]) by fep1-orange.clear.net.nz (1.5/1.11) with ESMTP id FAA00194; Sun, 20 Sep 1998 05:46:06 +1200 (NZST) Received: (from jabley@localhost) by buddha.clear.net.nz (8.9.1/8.9.1) id FAA01084; Sun, 20 Sep 1998 05:46:06 +1200 (NZST) Message-ID: <19980920054605.B1034@clear.co.nz> Date: Sun, 20 Sep 1998 05:46:05 +1200 From: Joe Abley To: Terry Lambert Cc: freebsd-current@FreeBSD.ORG Subject: Re: ELF ldconfig References: <19980920042741.A6144@clear.co.nz> <199809191725.KAA10263@usr09.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199809191725.KAA10263@usr09.primenet.com>; from Terry Lambert on Sat, Sep 19, 1998 at 05:25:09PM +0000 X-Files: the Truth is Out There Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 19, 1998 at 05:25:09PM +0000, Terry Lambert wrote: > > As an alternative, the whole of the ports collection could be updated to > > install correct symlinks using names understood by ldconfig, but this seems > > like a major job if we're looking at a 3.0 release in under thirty days. > > I think it would merely require a test for the ELF object format case > and a line or two in bsd.lib.mk, actually, presuming libs are > bmaked'd properly... What about (same example) the mail/mutt port, which includes LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/devel/libslang With the trailing "\\." after the 1 this is never going to match, regardless of how correctly the other ports' shared libraries have been installed. Mutt is not the only port which does this - there are others which have major and minor numbers installed, which do not show up on the current ldconfig -r output. Perhaps a bit of paranoid checking in bsd.port.mk's LIP_DEPENDS handling is in order to convert the name to something reasonable before checking in the ELF case? Joe -- Joe Abley Tel +64 9 912-4065, Fax +64 9 912-5008 Network Architect, CLEAR Net http://www.clear.net.nz/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message