Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 18:21:51 GMT
From:      Murray Stokely <murray@dolemite.cdrom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/17659: sysinstall fails to load a.out libraries
Message-ID:  <200003291821.SAA95808@dolemite.cdrom.com>

next in thread | raw e-mail | index | archive | help

>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




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