Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: Jonathan L Dubois <dubois@bec.physics.udel.edu>
Cc: axp-list <axp-list@redhat.com>, recipient list not shown: ;
Subject: Re: /sbin/loader: Fatal Error: cannot map libXm.so
Date: Sun, 22 Nov 1998 16:56:52 -0600 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9811221656050.6431-100000@draal.physics.wisc.edu> (raw)
In-Reply-To: <Pine.LNX.3.96.981122125855.516A-100000@bec.physics.udel.edu>

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


  reply	other threads:[~1998-11-22 22:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-22 18:21 /sbin/loader: Fatal Error: cannot map libXm.so Jonathan L Dubois
1998-11-22 22:56 ` Bob McElrath [this message]
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
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox