From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 22:13:26 2003 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 5517D16A4CE for ; Tue, 9 Dec 2003 22:13:26 -0800 (PST) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DFDD43D2B for ; Tue, 9 Dec 2003 22:13:23 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id hBA6DFE7009511; Wed, 10 Dec 2003 16:43:16 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: kientzle@acm.org, Michael Nottebrock Date: Wed, 10 Dec 2003 16:43:14 +1030 User-Agent: KMail/1.5.3 References: <200312071603.29573.michaelnottebrock@gmx.net> <3FD65D51.7090609@acm.org> In-Reply-To: <3FD65D51.7090609@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312101643.14397.doconnor@gsoft.com.au> X-Spam-Score: -4.4 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: current@freebsd.org Subject: Re: ldconfig / dynamic linker hints library name conventions 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: Wed, 10 Dec 2003 06:13:26 -0000 On Wednesday 10 December 2003 10:10, Tim Kientzle wrote: > Michael Nottebrock wrote: > > From the ldconfig manpage: > > > > "Filenames must conform to the lib*.so.[0-9] pattern in order to > > be added to the hints file." > > > > I wonder if there actually are any compelling reasons to keep this > > behaviour - > > Yes there are. Not all shared libraries are meant to be seen > by ldconfig. Some programs use shared libraries as > "plug-ins" that only get loaded under explicit control of > the program. Allowing ldconfig to see them just puts garbage > in the hints file. It should say lib*.so.[0-9]+ :) :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5