From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20688 invoked from network); 22 Nov 1998 22:57:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Nov 1998 22:57:07 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA00856 for ; Sun, 22 Nov 1998 17:57:06 -0500 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with ESMTP id QAA06745; Sun, 22 Nov 1998 16:56:52 -0600 Date: Sun, 22 Nov 1998 16:56:52 -0600 (EST) From: Bob McElrath To: Jonathan L Dubois cc: axp-list , recipient list not shown: ; Subject: Re: /sbin/loader: Fatal Error: cannot map libXm.so In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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