Re: Bug#473458: manpages-dev: dlopen man page contradicts ld.so(8)
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)
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug? Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html
Reply to: