From owner-freebsd-hackers Tue Oct 27 06:06:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20536 for freebsd-hackers-outgoing; Tue, 27 Oct 1998 06:06:50 -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 GAA20531 for ; Tue, 27 Oct 1998 06:06:48 -0800 (PST) (envelope-from kaleb@ics.com) Received: from ics.com (sunoco.ics.com [140.186.40.142]) by ics.com (8.9.0.Beta5/8.9.0.Beta5) with ESMTP id JAA19742 Tue, 27 Oct 1998 09:06:11 -0500 (EST) Message-ID: <3635D352.A2E6E2A6@ics.com> Date: Tue, 27 Oct 1998 09:06:10 -0500 From: "Kaleb S. KEITHLEY" Organization: Integrated Computer Solutions X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Re: ld for loading dynamic library changed in 3.0-RELEASE? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Zepeda wrote: > > > so it's perfectly legitimate to have a libfoo.so.5-pizza-6. > > If this was true, then mico's configure script wouldn't properly detect > shared libs. But it does, except on FreeBSD/ELF. > > > Now, if you have libfoo.so.5-pizza-6 and libfoo.so.5-sushi-3, how is > > ld supposed to guess which one is the "greatest" value? > > I'm sure the a.out ld has code for this type of thing. Why not emulate > its behavior? That's not the ELF way. Lacking the availability of a more architecture neutral reference, I suggest a trip through the System V Application Binary Interface (i.e. SVR4, SVR4.2 ABI) for a good overview of ELF semantics. Unix Press, ISBN 0-13-100439-5. Intel and SPARC supplements are also available, but I don't have the ISBN numbers for them. -- Kaleb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message