From owner-freebsd-hackers Wed Feb 3 19:22:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26862 for freebsd-hackers-outgoing; Wed, 3 Feb 1999 19:22:47 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26857 for ; Wed, 3 Feb 1999 19:22:45 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id TAA21442; Wed, 3 Feb 1999 19:22:44 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id TAA18413; Wed, 3 Feb 1999 19:22:43 -0800 (PST) (envelope-from jdp@polstra.com) Date: Wed, 3 Feb 1999 19:22:43 -0800 (PST) Message-Id: <199902040322.TAA18413@vashon.polstra.com> To: kaleb@ics.com Subject: Re: ldconfig and libraries Newsgroups: polstra.freebsd.hackers In-Reply-To: <36B700D2.41C67EA6@ics.com> References: <199901311851.KAA07228@vashon.polstra.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <36B700D2.41C67EA6@ics.com>, Kaleb S. KEITHLEY wrote: > > ldconfig for ELF should just go away. Feel free to remove it from your system. It's not going to go away in FreeBSD any time soon. You witnessed the outcry when I tried to argue against it months ago. There's no point in your bringing it up over and over again. It's here to stay. Just get over it. I did. :-) > > an ELF shared library must have a name > > that ends with ".so." followed by exactly one version number, like > > this: > > > > libfoo.so.12 > > > > On other ELF systems (since I haven't looked that closely at FreeBSD's > ELF implementation) the version is a string. The string may have any > value, e.g. "foo", "a-really-long-and-silly-string" or "3". > > The linker doesn't care, it merely records the fully qualified name of > the library, including the version string, in the program's NEEDED. The > run-time loader doesn't care, it loads the exact library by name, as > recorded in the program's NEEDED. That is the case for FreeBSD too. The question was about ldconfig, not about the dynamic linker. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message