Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Feb 1999 08:42:42 -0500
From:      "Kaleb S. KEITHLEY" <kaleb@ics.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: ldconfig and libraries
Message-ID:  <36B700D2.41C67EA6@ics.com>
References:  <199901311851.KAA07228@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B700D2.41C67EA6>