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

No Subject



The necessary shared libraries needed by the program are
searched for in the following order

o Using the environment variable LD_LIBRARY_PATH
(LD_AOUT_LIBRARY_PATH for a.out programs). Except
if the executable is a setuid/setgid binary, in
which case it is ignored.

o From the cache file /etc/ld.so.cache which contains
a compiled list of candidate libraries previously
found in the augmented library path.

o In the default path /usr/lib, and then /lib.

The logic for /usr/lib taking precedence over /lib is that the reverse
is useless, since / will always be mounted but /usr may not be. Core
facilities may be smaller or otherwise restricted for the emergency
environment.

This is against the FHS as far as I know (a standard file system
should avoid symlinks and shadowing to achieve normal operation, with
a few exceptions like /usr/include/X11 -> /usr/X11R6/include/X11 that
are themselves standardized). OTOH not mounting /usr means you are
not in normal operation by any reasonable criterion.

Will> Any other way to find out the id of the mmaped files?

If I am correct that those are inode indices, `find /usr -inum <num>'
will do it (or bet that I'm right with `find /usr/lib ...'). But this
is Unix, those numbers could be yesterday's Irish Lottery winners. :-P

--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
/- /System.old /apps /bin /boot /dev /etc /home /lib /lost+found /misc /mnt /net /proc /root /sbin /share /tmp /usr /var What's the big deal about the millennium? .............................
.... There are still 360 shopping days left until the millennial epoch! */

Start your own FREE mailing list at

&copy; 2000 Microsoft Corporation. All Rights Reserved