On 1/13/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> libXinerama.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
> libXp.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
> libXxf86vm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
> libXxf86dga.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
> libXxf86misc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
Actually, this is perfectly normal. The linker goes through it's
search path for libraries, trying to load each library from each
directory in /etc/ld.so.conf. It is typical to see many failures
until the right directory is found. For example:
("/usr/lib/mozilla/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT
("/usr/lib/mozilla/plugins/libXxf86vm.so.1", O_RDONLY) = -1 ENOENT
("/usr/lib/libXxf86vm.so.1", O_RDONLY) = 3
As long as it found it somewhere, it is ok.
Interestingly, for those of you using prelink, you won't see this
search for pre-linked binaries. It is part of what makes prelinked
systems a bit faster:
strace -e open -f /usr/bin/xdpyinfo >/dev/null
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
open("/usr/lib/libXtst.so.6", O_RDONLY) = 3
...
-Richard
--
[email protected] mailing list