From owner-freebsd-hackers Tue Feb 2 04:15:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA04168 for freebsd-hackers-outgoing; Tue, 2 Feb 1999 04:15:49 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ics.com (ics.com [140.186.40.192]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA04159 for ; Tue, 2 Feb 1999 04:15:44 -0800 (PST) (envelope-from kaleb@ics.com) Received: from kaleb.keithley.belmont.ma.us (pmdialin4.ics.com [140.186.40.178]) by ics.com (8.9.0.Beta5/8.9.0.Beta5) with SMTP id HAA03671 Tue, 2 Feb 1999 07:15:38 -0500 (EST) Message-ID: <36B700D2.41C67EA6@ics.com> Date: Tue, 02 Feb 1999 08:42:42 -0500 From: "Kaleb S. KEITHLEY" Organization: Integrated Computer Solutions X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Re: ldconfig and libraries References: <199901311851.KAA07228@vashon.polstra.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Polstra wrote: > > To be recognized by ldconfig, ldconfig for ELF should just go away. > 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. -- Kaleb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message