Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 1999 15:53:10 -0400 (EDT)
From:      William Melanson <wjm@gate.net>
To:        Gene Bomgardner <glbj@bellatlantic.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Netscape library troubles
Message-ID:  <Pine.A41.4.03.9908011552330.30242-100000@navajo.gate.net>
In-Reply-To: <199908011157.HAA08837@smtp-out2.bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Aug 1999, Gene Bomgardner wrote:

% Date: Sun, 1 Aug 1999 07:54:04 -0400
% From: Gene Bomgardner <glbj@bellatlantic.net>
% To: freebsd-questions@FreeBSD.ORG
% Subject: Re: Netscape library troubles
% 
% 
% <FontFamily><param>Courier New</param><smaller>Folks,
% I just installed FreeBSD 3.2 on my machine -- 
% wiped the drive and installed from the CD. During the 
% post-install, I added the netscape communicator 
% package. When I go to run it, I get this:
% Couldn't open /usr/libexec/ld.so.
% So, I did what little investigative work I could:
% remus:/home/king-> ls /usr/local/bin/navigator-4/
% /usr/local/bin/navigator-4/ not a directory
% remus:/home/king-> ls -Fl /usr/local/bin/navigator-4/.
% /usr/local/bin/navigator-4/ not a directory
% remus:/home/king-> ls -Fl /usr/local/bin/navigator-4.5.1
% -r-xr-xr-x 1 root wheel 204 May 11 11:10 
% /usr/local/bin/navigator-4.5.1*
% remus:/home/king-> file !$
% /usr/local/bin/navigator-4.5.1: Bourne shell script text
% remus:/home/king-> cat !$
% #!/bin/sh
% export MOZILLA_HOME; 
% MOZILLA_HOME=${MOZILLA_HOME:=/usr/local/lib/netscape}
% export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME
% export XCMSDB; XCMSDB=/dev/null
% exec $MOZILLA_HOME/navigator-4.5.1.bin $*
% remus:/home/king-> file 
% /usr/local/lib/netscape/navigator-4.5.1.bin
% /usr/local/lib/netscape/navigator-4.5.1.bin: 
% FreeBSD/i386 compact demand paged dynamically linked 
% executable
% remus:/home/king-> ldd !$
% /usr/local/lib/netscape/navigator-4.5.1.bin:
% Couldn't open /usr/libexec/ld.so.
% 
% I have a 3.0 machine that I haven't upgraded yet, so I 
% went to it and grabbed /usr/libexec/ld.so from it. 
% This is what I now get:
% 
% remus:/home/king-> ldd 
% /usr/local/lib/netscape/navigator-4.5.1.bin
% /usr/local/lib/netscape/navigator-4.5.1.bin:
% -lXt.6 => /usr/X11R6/lib/aout/libXt.so.6.0 
% (0x2067c000)
% -lXmu.6 => /usr/X11R6/lib/aout/libXmu.so.6.0 
% (0x206b8000)
% -lX11.6 => /usr/X11R6/lib/aout/libX11.so.6.1 
% (0x206c8000)
% -lXext.6 => /usr/X11R6/lib/aout/libXext.so.6.3 
% (0x20759000)
% -lSM.6 => /usr/X11R6/lib/aout/libSM.so.6.0 
% (0x20762000)
% -lICE.6 => /usr/X11R6/lib/aout/libICE.so.6.3 
% (0x2076a000)
% -lg++.4 => not found (0x0)
% -lstdc++.2 => not found (0x0)
% -lm.2 => not found (0x0)
% -lc.3 => not found (0x0)
% /usr/local/lib/netscape/navigator-4.5.1.bin: exit 
% status 1
% remus:/home/king-> netscape
% ld.so failed: Can't find shared library "libg++.so.4.0"
% 
% I re-installed from the CD, installed from 
% <underline><color><param>0000,0000,FF00</param>ftp.freebsd.org</underline></color> and d/l-ed it from netscape.com and 
% installed that -- to no avail. Is there some library I 
% am missing? What should I do to correct this problem?
% Please include me in your replies because I am not 
% subscribed to this mailing list.
% Thank you,
% Dean
% 
% 

This will fix it.

Go into the first installation cd:

A typical FreeBSD distribution directory looks something like this:

ABOUT.TXT       bin             dict            manpages        tools
HARDWARE.TXT    compat1x        des             doc             packages
INSTALL.TXT     compat20        floppies        ports
README.TXT      compat21        games           proflibs
RELNOTES.TXT    compat22        info            src
LAYOUT.TXT      XF86333

Within the compat22 directory run the install shell script which will
install the necessary ld.so in /usr/libexec.

This is what the problem is:

4. The compat1x, compat20, compat21 and compat22 directories contain
   distributions for compatibility with older releases and are distributed
   as single gzip'd tar files - they can be installed during release time
   or later by running their `install.sh' scripts.  Those wishing to
   run older (2.2.x) a.out dynamically linked executables should always
   install the compat22 distribution.


--------------------------------oOo------------------------------------
  William  J. Melanson        CyberGate, Inc. | e.spire Communications
  Network Controller          Deerfield Beach, FL 33441 
  Network Operations Center   Phone: (954) 429-8080
--------------------------------oOo------------------------------------



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?Pine.A41.4.03.9908011552330.30242-100000>