[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473458: manpages-dev: dlopen man page contradicts ld.so(8)



Michael Kerrisk wrote:
> 
> 
> Justin Pryzby wrote:
> > reassign 473458 libc6
> > found 473458 2.7-9
> > thanks
> > 
> > On Sun, Mar 30, 2008 at 09:48:46PM +0300, ygrek wrote:
> > 
> >> man dlopen says :
> >>   Otherwise,  the
> >>   dynamic  linker  searches for the library as follows (see ld.so(8) for
> >>   further details):
> >>   [...]
> >>   o   The directories /lib and /usr/lib are searched (in that order).
> >>
> >> and man ld.so :
> >>   The necessary shared libraries needed by the program are searched  for
> >>   in the following order
> >>   [...]
> >>   o      In the default path /usr/lib, and then /lib.
> >>
> >> so what is searched first - /usr/lib or /lib?
> 
> [...]
> 
> > But I think it's sufficiently accurate to say that the /lib heirarchy
> > is searched before that of /usr/lib, so ld.so.8 is wrong, thus
> > reassigning.
> 
> This correct.  NOTE: this bad text is in a Debian downstream patch.  The
> usptream page is  correct on this point (and has been forever, AFAICS)

Oops!  Will fix.

Regards,

	Joey

-- 
Never trust an operating system you don't have source for!

Please always Cc to me when replying to me on the lists.



Reply to: