* /sbin/loader: Fatal Error: cannot map libXm.so
@ 1998-11-22 18:21 Jonathan L Dubois
1998-11-22 22:56 ` Bob McElrath
1998-11-24 4:45 ` Wai-Sun Chia
0 siblings, 2 replies; 6+ messages in thread
From: Jonathan L Dubois @ 1998-11-22 18:21 UTC (permalink / raw)
To: axp-list
I have been using DU netscape for a while now without any problems..
but today when I tried to run it I got the following error:
/usr/X11R6/bin/netscape: /sbin/loader: Fatal Error: cannot map libXm.so
To my understanding its staticly linked so why would it be looking for
libXm anyway? Besides, I had it working long before installing
lesstif...
can anyone tell me what I might have done to make this happen?
below is the output of strace if that helps:
execve("/usr/X11R6/bin/netscape", ["netscape"], [/* 31 vars */]) = 0
getpagesize() = 0x2000
getpagesize() = 0x2000
brk(0x3ffc0003e20) = 0x3ffc0003e20
brk(0x3ffc0007e20) = 0x3ffc0007e20
open("/usr/X11R6/bin/netscape", O_RDONLY) = 3
getxuid() = 500
getxgid(0x3ffc0002000) = 500
getxuid() = 500
getxgid(0x3ffc0002000) = 500
getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 1953}, ...}) = 0
getrusage(RUSAGE_CHILDREN, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
read(3, "\203\1\24\0e\322k2\0\0\0\0\0\0\0"..., 2664) = 2664
mmap(0x12000000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x12000000
mmap(0x14000000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x14000000
mmap(0x14222000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x14222000
brk(0x3ffc0007e20) = 0x3ffc0007e20
brk(0x3ffc0017e20) = 0x3ffc0017e20
open("/home/dubois/incoming/rvplayer5.0/libXm.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/ccs/lib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/cmplrs/cc/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libXm.so", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3"..., 2664) = 2664
close(4) = 0
open("/var/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/shlib/motif1.2/libXm.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/dev/tty", O_WRONLY) = 4
getxpid() = 661
write(4, "", 0) = 0
write(4, "661", 3661) = 3
write(4, ":", 1:) = 1
write(4, "", 0) = 0
write(4, "/usr/X11R6/bin/netscape", 23/usr/X11R6/bin/netscape) = 23
write(4, ": ", 2: ) = 2
write(4, "/sbin/loader", 12/sbin/loader) = 12
write(4, ": Fatal Error: ", 15: Fatal Error: ) = 15
write(4, "cannot map ", 11cannot map ) = 11
write(4, "libXm.so", 8libXm.so) = 8
write(4, "", 0) = 0
write(4, "", 0) = 0
write(4, "\n", 1
) = 1
close(4) = 0
exit(1) = ?
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: /sbin/loader: Fatal Error: cannot map libXm.so
1998-11-22 18:21 /sbin/loader: Fatal Error: cannot map libXm.so Jonathan L Dubois
@ 1998-11-22 22:56 ` Bob McElrath
1998-11-23 16:25 ` Jonathan L Dubois
1998-11-24 4:45 ` Wai-Sun Chia
1 sibling, 1 reply; 6+ messages in thread
From: Bob McElrath @ 1998-11-22 22:56 UTC (permalink / raw)
To: Jonathan L Dubois; +Cc: axp-list
On Sun, 22 Nov 1998, Jonathan L Dubois wrote:
> I have been using DU netscape for a while now without any problems..
> but today when I tried to run it I got the following error:
>
> /usr/X11R6/bin/netscape: /sbin/loader: Fatal Error: cannot map libXm.so
>
> To my understanding its staticly linked so why would it be looking for
> libXm anyway? Besides, I had it working long before installing
> lesstif...
>
> can anyone tell me what I might have done to make this happen?
Well, install libXm.so in /usr/shlib is the easy answer... Xm is the motif
library. It must not be a statically linked version of netscape...
> below is the output of strace if that helps:
>
> execve("/usr/X11R6/bin/netscape", ["netscape"], [/* 31 vars */]) = 0
> getpagesize() = 0x2000
> getpagesize() = 0x2000
> brk(0x3ffc0003e20) = 0x3ffc0003e20
> brk(0x3ffc0007e20) = 0x3ffc0007e20
> open("/usr/X11R6/bin/netscape", O_RDONLY) = 3
> getxuid() = 500
> getxgid(0x3ffc0002000) = 500
> getxuid() = 500
> getxgid(0x3ffc0002000) = 500
> getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 1953}, ...}) = 0
> getrusage(RUSAGE_CHILDREN, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
> read(3, "\203\1\24\0e\322k2\0\0\0\0\0\0\0"..., 2664) = 2664
> mmap(0x12000000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x12000000
> mmap(0x14000000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x14000000
> mmap(0x14222000, 4831833064, 0xa68, 0 /* MAP_??? */, 0, 0) = 0x14222000
> brk(0x3ffc0007e20) = 0x3ffc0007e20
> brk(0x3ffc0017e20) = 0x3ffc0017e20
> open("/home/dubois/incoming/rvplayer5.0/libXm.so", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/usr/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/ccs/lib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/cmplrs/cc/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/local/lib/libXm.so", O_RDONLY) = 4
> read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3"..., 2664) = 2664
> close(4) = 0
> open("/var/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/shlib/motif1.2/libXm.so", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> open("/dev/tty", O_WRONLY) = 4
> getxpid() = 661
> write(4, "", 0) = 0
> write(4, "661", 3661) = 3
> write(4, ":", 1:) = 1
> write(4, "", 0) = 0
> write(4, "/usr/X11R6/bin/netscape", 23/usr/X11R6/bin/netscape) = 23
> write(4, ": ", 2: ) = 2
> write(4, "/sbin/loader", 12/sbin/loader) = 12
> write(4, ": Fatal Error: ", 15: Fatal Error: ) = 15
> write(4, "cannot map ", 11cannot map ) = 11
> write(4, "libXm.so", 8libXm.so) = 8
> write(4, "", 0) = 0
> write(4, "", 0) = 0
> write(4, "\n", 1
> ) = 1
> close(4) = 0
> exit(1) = ?
>
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
-- Bob
Bob McElrath (mcelrath@draal.physics.wisc.edu) Univ. of Wisconsin at Madison
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: /sbin/loader: Fatal Error: cannot map libXm.so
1998-11-22 22:56 ` Bob McElrath
@ 1998-11-23 16:25 ` Jonathan L Dubois
1998-11-23 16:50 ` Bob McElrath
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan L Dubois @ 1998-11-23 16:25 UTC (permalink / raw)
To: axp-list
On Sun, 22 Nov 1998, Bob McElrath wrote:
> > I have been using DU netscape for a while now without any problems..
> > but today when I tried to run it I got the following error:
> >
> > /usr/X11R6/bin/netscape: /sbin/loader: Fatal Error: cannot map libXm.so
> Well, install libXm.so in /usr/shlib is the easy answer... Xm is the motif
> library. It must not be a statically linked version of netscape...
Thanks for your reply but this does not make sense to me.. I am sure it
is statically linked because it used to work fine even when I had no motif
libraries anywhere on my system. I do now have lesstiff installed in
/usr/local/lib --
and from the output of strace netscape seems to find it but then it keeps
looking
...
open("/usr/local/lib/libXm.so", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3"..., 2664) = 2664
close(4) = 0
open("/var/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/shlib/motif1.2/libXm.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
...
kind regards,
Jonathan DuBois
p.s. I put a symbolic link in /usr/shlib to libXm but it
still doesnt work.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: /sbin/loader: Fatal Error: cannot map libXm.so
1998-11-23 16:25 ` Jonathan L Dubois
@ 1998-11-23 16:50 ` Bob McElrath
1998-11-23 18:26 ` Tuff Guy
0 siblings, 1 reply; 6+ messages in thread
From: Bob McElrath @ 1998-11-23 16:50 UTC (permalink / raw)
To: Jonathan L Dubois; +Cc: axp-list
On Mon, 23 Nov 1998, Jonathan L Dubois wrote:
>
>
> On Sun, 22 Nov 1998, Bob McElrath wrote:
>
> > > I have been using DU netscape for a while now without any problems..
> > > but today when I tried to run it I got the following error:
> > >
> > > /usr/X11R6/bin/netscape: /sbin/loader: Fatal Error: cannot map libXm.so
> > Well, install libXm.so in /usr/shlib is the easy answer... Xm is the motif
> > library. It must not be a statically linked version of netscape...
>
> Thanks for your reply but this does not make sense to me.. I am sure it
> is statically linked because it used to work fine even when I had no motif
> libraries anywhere on my system. I do now have lesstiff installed in
> /usr/local/lib --
> and from the output of strace netscape seems to find it but then it keeps
> looking
>
> ...
>
> open("/usr/local/lib/libXm.so", O_RDONLY) = 4
> read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3"..., 2664) = 2664
> close(4) = 0
> open("/var/shlib/libXm.so", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/shlib/motif1.2/libXm.so", O_RDONLY) = -1 ENOENT (No such file
> or directory)
>
> ...
>
> kind regards,
> Jonathan DuBois
>
> p.s. I put a symbolic link in /usr/shlib to libXm but it
> still doesnt work.
Wild-assed guess here, but it looks like your install of lesstif is what
killed netscape. Which leads me to believe it was the dynamic version, and
worked with the *previous* install of lesstif (or another motif) that you
had...
From the strace output, it looks like it doesn't like your libXm (and closes
it). Perhaps the libXm is corrupt? Do other motif apps work?
-- Bob
Bob McElrath (mcelrath@draal.physics.wisc.edu) Univ. of Wisconsin at Madison
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: /sbin/loader: Fatal Error: cannot map libXm.so
1998-11-22 18:21 /sbin/loader: Fatal Error: cannot map libXm.so Jonathan L Dubois
1998-11-22 22:56 ` Bob McElrath
@ 1998-11-24 4:45 ` Wai-Sun Chia
1 sibling, 0 replies; 6+ messages in thread
From: Wai-Sun Chia @ 1998-11-24 4:45 UTC (permalink / raw)
To: Jonathan L Dubois; +Cc: axp-list
Jonathan L Dubois wrote:
>
> I have been using DU netscape for a while now without any problems..
> but today when I tried to run it I got the following error:
>
> /usr/X11R6/bin/netscape: /sbin/loader: Fatal Error: cannot map libXm.so
>
This is DU's loader telling you that it cannot find the motif library.
All the DU versions of netscape are dynamically linked. And lesstif
cannot help you as it is ELF-based. loader is looking for the motif it
can recognize, and of course that'll be ECOFF. Just copy the libXm.so
from DU to /shlib, and you'll be ok.
--
Wai-Sun Chia
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-11-24 4:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-22 18:21 /sbin/loader: Fatal Error: cannot map libXm.so Jonathan L Dubois
1998-11-22 22:56 ` Bob McElrath
1998-11-23 16:25 ` Jonathan L Dubois
1998-11-23 16:50 ` Bob McElrath
1998-11-23 18:26 ` Tuff Guy
1998-11-24 4:45 ` Wai-Sun Chia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox