From owner-freebsd-questions Mon Jan 3 2:31: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 9D167152D4 for ; Mon, 3 Jan 2000 02:31:03 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 23238 invoked from network); 3 Jan 2000 10:31:00 -0000 Received: from userao93.uk.uudial.com (HELO marder-1.) (62.188.135.209) by smtp.dial.pipex.com with SMTP; 3 Jan 2000 10:31:00 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id KAA10996; Mon, 3 Jan 2000 10:30:39 GMT (envelope-from mark) Date: Mon, 3 Jan 2000 10:30:39 +0000 From: Mark Ovens To: Harlan Stenn Cc: questions@freebsd.org Subject: Re: netscape4.61 install problem under 3-stable Message-ID: <20000103103039.D330@marder-1> References: <20000103085306.C330@marder-1> <6943.946891244@pcnbs.pfcs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <6943.946891244@pcnbs.pfcs.com> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 03, 2000 at 04:20:44AM -0500, Harlan Stenn wrote: > More bits: > > % ldd /usr/local/lib/netscape/netscape > /usr/local/lib/netscape/netscape: > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXt.so.6: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXmu.so.6: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6: minor version -1 older than expected 3, using it anyway > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libX11.so.6: minor version -1 older than expected 1, using it anyway > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libSM.so.6: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libICE.so.6: minor version -1 older than expected 3, using it anyway > /usr/libexec/ld.so: warning: /usr/lib/libg++.so.4: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/lib/libstdc++.so.2: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/lib/libm.so.2: minor version -1 older than expected 0, using it anyway > /usr/libexec/ld.so: warning: /usr/lib/libc.so.3: minor version -1 older than expected 0, using it anyway > -lXt.6 => not found (0x0) > -lXmu.6 => not found (0x0) > -lXext.6 => not found (0x0) > -lX11.6 => not found (0x0) > -lSM.6 => not found (0x0) > -lICE.6 => not found (0x0) > -lg++.4 => not found (0x0) > -lstdc++.2 => not found (0x0) > -lm.2 => not found (0x0) > -lc.3 => not found (0x0) > OK, it's trying to use the ELF libs, but why? > and > > % ldd /usr/local/lib/netscape-linux/communicator-4.61.bin > /usr/local/lib/netscape-linux/communicator-4.61.bin: > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28ac9000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28b0c000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28b14000) > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28b28000) > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x28b39000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28b48000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28b53000) > libdl.so.1 => /lib/libdl.so.1 (0x28bea000) > libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x28bed000) > libg++.so.27 => /usr/lib/libg++.so.27 (0x28cb6000) > libstdc++.so.27 => /usr/lib/libstdc++.so.27 (0x28cee000) > libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x28d20000) > libc.so.6 => /lib/libc.so.6 (0x28d28000) > ld-linux.so.2 => /lib/ld-linux.so.2 (0x28dcd000) > > and that version drops core. > No wonder, it's trying to use FreeBSD (ELF) libs. I'm using the Linux netscape: marder-1# ldd `which netscape` /usr/local/bin/netscape: libXt.so.6 => /usr/i486-linux-libc5/lib/libXt.so.6 (0x28aca000) libSM.so.6 => /usr/i486-linux-libc5/lib/libSM.so.6 (0x28b08000) libICE.so.6 => /usr/i486-linux-libc5/lib/libICE.so.6 (0x28b10000) libXmu.so.6 => /usr/i486-linux-libc5/lib/libXmu.so.6 (0x28b24000) libXpm.so.4 => /usr/i486-linux-libc5/lib/libXpm.so.4 (0x28b35000) libXext.so.6 => /usr/i486-linux-libc5/lib/libXext.so.6 (0x28b43000) libX11.so.6 => /usr/i486-linux-libc5/lib/libX11.so.6 (0x28b4d000) libdl.so.1 => /lib/libdl.so.1 (0x28bde000) libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x28be1000) libg++.so.27 => /usr/lib/libg++.so.27 (0x28caa000) libstdc++.so.27 => /usr/lib/libstdc++.so.27 (0x28ce2000) libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x28d14000) marder-1# You know this is beginning to sound like the problem(s) that I, and many others, had after installing the linux_base port in order to run StarOffice5.1 - *all* Linux binaries (except SO) core dumped at start up. Have you got a LD_LIBRARY_PATH environment variable defined? That was the cause of our problems (seems LD_LIBRARY_PATH doesn't work with linux_base installed). The fact that you have /usr/i486-linux-libc5/ suggests that you have linux_base installed also. As to why the FreeBSD native netscape doesn't work, I don't know, except that it's trying to use ELF libs. What are the ``ldconfig_paths='' and ``ldconfig_paths_aout'' in /etc/defaults/rc.conf and /etc/rc*? > % gdb ../netscape-linux/communicator-4.61.bin communicator-4.6.core > GNU gdb 4.18 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-unknown-freebsd"... > (no debugging symbols found)... > > warning: core file may not match specified executable file. > Core was generated by `communicator-4.6'. > Program terminated with signal 11, Segmentation fault. > /lib/libdl.so.1: No such file or directory. > #0 0x28d905cf in ?? () > (gdb) quit > % locate libdl.so > /usr/compat/linux/lib/libdl.so > /usr/compat/linux/lib/libdl.so.1 > /usr/compat/linux/lib/libdl.so.1.7.14 > /usr/compat/linux/lib/libdl.so.1.9.5 > /usr/compat/linux/lib/libdl.so.2 > % -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message