From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 15:40:03 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 C188E16A4CE for ; Tue, 9 Dec 2003 15:40:03 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C0243D2C for ; Tue, 9 Dec 2003 15:40:02 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id hB9Ne2kX021007; Tue, 9 Dec 2003 15:40:02 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3FD65D51.7090609@acm.org> Date: Tue, 09 Dec 2003 15:40:01 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock References: <200312071603.29573.michaelnottebrock@gmx.net> In-Reply-To: <200312071603.29573.michaelnottebrock@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 23:40:03 -0000 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.