Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 08:02:08 -0600
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        "Jim Early" <earlyjp@cs.purdue.edu>, <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Netscape / aout woes :(
Message-ID:  <004301be5f35$1c5328f0$236319ac@w142844.carlson.com>

next in thread | raw e-mail | index | archive | help
First, make sure you compile X with the option to create a.out libraries.
Next, reboot :-(.  For some reason, ldconfig does not find the new X a.out
libraries unless you reboot.  You could try explicitly including
/usr/X11R6/lib/aout with ldconfig yourself too.  After that, Netscape and
the JDK should work great.

Tom Veldhouse
veldy@visi.com

-----Original Message-----
From: Jim Early <earlyjp@cs.purdue.edu>
To: freebsd-stable@FreeBSD.ORG <freebsd-stable@FreeBSD.ORG>
Date: Tuesday, February 23, 1999 7:41 AM
Subject: Netscape / aout woes :(


>Greetings,
>  Last week, I turned up a new machine with 2.2.5 (developer distribution
>- no X11), then immediately upgraded to 3.1-STABLE (used 'make upgrade').
>I next installed XFree86 3.3.3.1. This version of XFree86 is elf. The
>outcome is that I have a happy, stable, system with elf binaries.
>
>  I've brought over a few ports and packages, and most have gone in
>without a hitch. The problem I'm having is with Netscape 4.5. I think my
>aout configurations are not set up correctly in /etc/rc.conf or ldconfig
>(or both). I have been following this same saga that some others have
>reported, but their solutions don't seem to work for me. I (and perhaps
>some others) would really appreciate it if someone could post the proper
>/etc/rc.conf and ldconfig commands for an elf machine with aout
>compatibility. BTW, I want to try the JDK next, but I want to get this
>working first.
>
>  Below is the error I'm getting from ld.so and my current configuration.
>
># /usr/local/netscape/netscape
>/usr/libexec/ld.so: Undefined symbol "___error" called from
>netscape:/usr/X11R6/lib/aout/libX11.so.6.1 at 0x20c4161c
>
># ldconfig -aout -r
>/var/run/ld.so.hints:
> search directories: /usr/lib/aout:/usr/X11R6/lib/aout
> 0:-lX11.6.1 => /usr/X11R6/lib/aout/libX11.so.6.1
> 1:-lICE.6.3 => /usr/X11R6/lib/aout/libICE.so.6.3
> 2:-lSM.6.0 => /usr/X11R6/lib/aout/libSM.so.6.0
> 3:-lXext.6.3 => /usr/X11R6/lib/aout/libXext.so.6.3
> 4:-lXt.6.0 => /usr/X11R6/lib/aout/libXt.so.6.0
> 5:-lc.3.0 => /usr/lib/aout/libc.so.3.0
> 6:-loldX.6.0 => /usr/X11R6/lib/aout/liboldX.so.6.0
> 7:-lXmu.6.0 => /usr/X11R6/lib/aout/libXmu.so.6.0
> 8:-lalias.2.4 => /usr/lib/aout/libalias.so.2.4
> 9:-lXIE.6.0 => /usr/X11R6/lib/aout/libXIE.so.6.0
> 10:-lXi.6.0 => /usr/X11R6/lib/aout/libXi.so.6.0
> 11:-lXtst.6.1 => /usr/X11R6/lib/aout/libXtst.so.6.1
> 12:-lXaw.6.1 => /usr/X11R6/lib/aout/libXaw.so.6.1
> 13:-lPEX5.6.0 => /usr/X11R6/lib/aout/libPEX5.so.6.0
> 14:-lacl.2.0 => /usr/lib/aout/libacl.so.2.0
> 15:-lXp.6.2 => /usr/X11R6/lib/aout/libXp.so.6.2
>
># ldconfig -elf -r
>/var/run/ld-elf.so.hints:
> search directories: /usr/X11R6/lib
> 0:-lICE.6 => /usr/X11R6/lib/libICE.so.6
> 1:-lPEX5.6 => /usr/X11R6/lib/libPEX5.so.6
> 2:-lSM.6 => /usr/X11R6/lib/libSM.so.6
> 3:-lX11.6 => /usr/X11R6/lib/libX11.so.6
> 4:-lXIE.6 => /usr/X11R6/lib/libXIE.so.6
> 5:-lXaw.6 => /usr/X11R6/lib/libXaw.so.6
> 6:-lXext.6 => /usr/X11R6/lib/libXext.so.6
> 7:-lXi.6 => /usr/X11R6/lib/libXi.so.6
> 8:-lXmu.6 => /usr/X11R6/lib/libXmu.so.6
> 9:-lXp.6 => /usr/X11R6/lib/libXp.so.6
> 10:-lXt.6 => /usr/X11R6/lib/libXt.so.6
> 11:-lXtst.6 => /usr/X11R6/lib/libXtst.so.6
> 12:-loldX.6 => /usr/X11R6/lib/liboldX.so.6
> 13:-lXpm.4 => /usr/X11R6/lib/libXpm.so.4
># cat /etc/rc.conf
>
>...
>
>##############################################################
>###  Miscellaneous administrative options  ###################
>##############################################################
>
>ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
>linux_enable="NO" # Linux emulation loaded at startup (or NO).
>rand_irqs="NO" # Stir the entropy pool (eg: "5 11" or NO).
>
># aout compatibility libraries
>ldconfig_paths_aout="/usr/lib/compat /usr/X11R6/lib/aout /usr/lib/aout
>/usr/local/lib/aout"
>
># elf library paths
>ldconfig_paths="/usr/lib /usr/local/lib /usr/X11R6/lib"
>
>...
>
>
>Thanks!
>Jim
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004301be5f35$1c5328f0$236319ac>