From owner-freebsd-bugs Wed Mar 29 2:30: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 278AF37B6E8 for ; Wed, 29 Mar 2000 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA55225; Wed, 29 Mar 2000 02:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from dolemite.cdrom.com (dolemite.cdrom.com [204.216.28.171]) by hub.freebsd.org (Postfix) with ESMTP id 99B7237BE43 for ; Wed, 29 Mar 2000 02:21:37 -0800 (PST) (envelope-from murray@dolemite.cdrom.com) Received: (from root@localhost) by dolemite.cdrom.com (8.9.3/8.9.3) id SAA95808; Wed, 29 Mar 2000 18:21:51 GMT (envelope-from murray) Message-Id: <200003291821.SAA95808@dolemite.cdrom.com> Date: Wed, 29 Mar 2000 18:21:51 GMT From: Murray Stokely Reply-To: murray@cdrom.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17659: sysinstall fails to load a.out libraries Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17659 >Category: bin >Synopsis: sysinstall fails to load a.out libraries >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 29 02:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Murray Stokely >Release: FreeBSD 5.0-CURRENT i386 >Organization: BSDI >Environment: >Description: If you install a distribution, sysinstall will run ldconfig to scan for new ELF libraries, but it will not run ldconfig -aout to scan for a.out libraries. This is a real problem for the compat22 distribution and is the reason that Netscape fails to install during a 4.0 installation. >How-To-Repeat: On a machine without compat22 loaded, try to install the Netscape package from within sysinstall. It will fail and tell you to install compat22, but if you go back and load compat22 then try again it will still fail because the a.out libraries are installed but not read until a reboot. >Fix: Index: package.c =================================================================== RCS file: /host/ares/usr/home/ncvs/src/release/sysinstall/package.c,v retrieving revision 1.91 diff -u -r1.91 package.c --- package.c 2000/03/18 08:46:23 1.91 +++ package.c 2000/03/29 18:11:38 @@ -129,8 +129,10 @@ } /* If necessary, initialize the ldconfig hints */ - if (!file_readable("/var/run/ld.so.hints")) + if (!file_readable("/var/run/ld.so.hints")) { vsystem("ldconfig /usr/lib /usr/lib/compat /usr/local/lib /usr/X11R6/lib"); + vsystem("ldconfig -aout /usr/lib/aout /usr/lib/compat/aout /usr/local/lib/aout /usr/X11R6/lib/aout"); + } /* Be initially optimistic */ ret = DITEM_SUCCESS; >Release-Note: >Audit-Trail: >Unformatted: Murray Stokely To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message