Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 05:46:05 +1200
From:      Joe Abley <jabley@clear.co.nz>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ELF ldconfig
Message-ID:  <19980920054605.B1034@clear.co.nz>
In-Reply-To: <199809191725.KAA10263@usr09.primenet.com>; from Terry Lambert on Sat, Sep 19, 1998 at 05:25:09PM %2B0000
References:  <19980920042741.A6144@clear.co.nz> <199809191725.KAA10263@usr09.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jabley@clear.co.nz>      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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980920054605.B1034>