[PLUG] Firefox Version Matters After OS Upgradep

Rich Shepard rshepard at appl-ecosys.com
Wed Oct 20 17:55:25 UTC 2010


On Wed, 20 Oct 2010, wes wrote:

> I agree that is strange. I expect other Slackware users would have the
> same difficulty if they had the same setup as you.

Wes,

   Yup. But, I'm seeing the same problem on two totally different hardware
platforms so it's not host-specific as far as I can tell.

> You can use strace and/or ltrace to see the full path to the libraries
> it's trying to load. It's probably just looking for them in the wrong
> place, but something else could be happening. Strace will tell you
> everything it's doing.

   I see things in the strace output that make no sense, but it comes down to
not finding those specific libraries. I'm also not proficient in
interpreting strace output:

[rshepard at salmo ~]$ /usr/bin/strace /usr/lib/firefox-3.6.10/firefox-bin |
less
execve("/usr/lib/firefox-3.6.10/firefox-bin",
["/usr/lib/firefox-3.6.10/firefox-"...], [/* 56 vars */]) = 0
brk(0)                                  = 0x8055000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb8099000
access("/etc/ld.so.preload", R_OK)      = 0
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=18, ...}) = 0
mmap2(NULL, 18, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb8098000
close(3)                                = 0
open("/lib/libsafe.so.2", O_RDONLY)     = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\20\0\0004\0\0\0\34"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=20356, ...}) = 0
mmap2(NULL, 18272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb8093000
mmap2(0xb8097000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb8097000
mprotect(0xbf981000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) =
0 close(3)                                = 0
munmap(0xb8098000, 18)                  = 0
open("/usr/lib/qt/lib/tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/qt/lib/tls/i686/sse2", 0xbf980880) = -1 ENOENT (No such
file or directory)
open("/usr/lib/qt/lib/tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/qt/lib/tls/i686", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/qt/lib/tls/sse2", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/qt/lib/tls", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/qt/lib/i686/sse2", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/qt/lib/i686", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/qt/lib/sse2", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/usr/lib/qt/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/qt/lib", {st_mode=S_IFDIR|0755, st_size=4336, ...}) = 0
open("/opt/wx/2.8/lib/tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/opt/wx/2.8/lib/tls/i686/sse2", 0xbf980880) = -1 ENOENT (No such
file or directory)
open("/opt/wx/2.8/lib/tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/opt/wx/2.8/lib/tls/i686", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/opt/wx/2.8/lib/tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/opt/wx/2.8/lib/tls/sse2", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/opt/wx/2.8/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/opt/wx/2.8/lib/tls", 0xbf980880) = -1 ENOENT (No such file or
directory)
open("/opt/wx/2.8/lib/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/tls/sse2",
0xbf980880) = -1 ENOENT (No such file or directory)
open("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/tls/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/tls",
0xbf980880) = -1 ENOENT (No such file or directory)
open("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/i686/sse2/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/i686/sse2",
0xbf980880) = -1 ENOENT (No such file or directory)
open("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/i686/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/i686",
0xbf980880) = -1 ENOENT (No such file or directory)
open("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/sse2/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/sse2",
0xbf980880) = -1 ENOENT (No such file or directory)
open("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr4/grass-6.4.ORC5/dist.i486-unknown-linux-gnu/lib", 0xbf980880) =
-1 ENOENT (No such file or directory)
open("tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory
)
open("tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/libpthread.so.0", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("i686/libpthread.so.0", O_RDONLY)  = -1 ENOENT (No such file or
directory)
open("sse2/libpthread.so.0", O_RDONLY)  = -1 ENOENT (No such file or
directory)
open("libpthread.so.0", O_RDONLY)       = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=149848, ...}) = 0
mmap2(NULL, 149848, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb806e000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200G\0\0004\0\0\0\370"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=114784, ...}) = 0
mmap2(NULL, 94676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb8056000
mmap2(0xb806a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb806a000
mmap2(0xb806c000, 4564, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb806c000
close(3)                                = 0
open("/usr/lib/qt/lib/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/opt/wx/2.8/lib/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/i686/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("tls/i686/libxul.so", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("tls/sse2/libxul.so", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("tls/libxul.so", O_RDONLY)         = -1 ENOENT (No such file or
directory)
open("i686/sse2/libxul.so", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("i686/libxul.so", O_RDONLY)        = -1 ENOENT (No such file or
directory)
open("sse2/libxul.so", O_RDONLY)        = -1 ENOENT (No such file or
directory)
open("libxul.so", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/i686/sse2", 0xbf980864) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/i686", 0xbf980864)     = -1 ENOENT (No such file or
directory)
open("/lib/tls/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/sse2", 0xbf980864)     = -1 ENOENT (No such file or
directory)
open("/lib/tls/libxul.so", O_RDONLY)    = -1 ENOENT (No such file or
directory)
stat64("/lib/tls", 0xbf980864)          = -1 ENOENT (No such file or
directory)
open("/lib/i686/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/i686/sse2", 0xbf980864)    = -1 ENOENT (No such file or
directory)
open("/lib/i686/libxul.so", O_RDONLY)   = -1 ENOENT (No such file or
directory)
stat64("/lib/i686", 0xbf980864)         = -1 ENOENT (No such file or
directory)
open("/lib/sse2/libxul.so", O_RDONLY)   = -1 ENOENT (No such file or
directory)
stat64("/lib/sse2", 0xbf980864)         = -1 ENOENT (No such file or
directory)
open("/lib/libxul.so", O_RDONLY)        = -1 ENOENT (No such file or
directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=5680, ...}) = 0
open("/usr/lib/tls/i686/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbf980864) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/tls/i686", 0xbf980864) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/tls/sse2", 0xbf980864) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=128, ...}) = 0
open("/usr/lib/i686/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/i686/sse2", 0xbf980864) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/i686", 0xbf980864)     = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/libxul.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/sse2", 0xbf980864)     = -1 ENOENT (No such file or
directory)
open("/usr/lib/libxul.so", O_RDONLY)    = -1 ENOENT (No such file or
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=130800, ...}) = 0
writev(2, [{"/usr/lib/firefox-3.6.10/firefox-b"..., 35}, {": "..., 2},
{"error while loading shared librar"..., 36}, {": "..., 2}, {"libxul.so"...,
9}, {": "..., 2}, {"cannot open shared object file"..., 30}, {": "..., 2},
{"No such file or directory"..., 25}, {"\n"..., 1}],
10/usr/lib/firefox-3.6.10/firefox-bin: error while loading shared libraries:
libxul.so: cannot open shared object file: No such file or directory
) = 144
exit_group(127)

   Why's firefox looking in wx and grass6.4 directories for libraries it
needs? Something's screwy here.

Rich






More information about the PLUG mailing list