Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 10:30:39 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Harlan Stenn <Harlan.Stenn@pfcs.com>
Cc:        questions@freebsd.org
Subject:   Re: netscape4.61 install problem under 3-stable
Message-ID:  <20000103103039.D330@marder-1>
In-Reply-To: <6943.946891244@pcnbs.pfcs.com>
References:  <20000103085306.C330@marder-1> <6943.946891244@pcnbs.pfcs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000103103039.D330>