From owner-freebsd-bugs Thu Apr 22 0:42:31 1999 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 922B614DBD for ; Thu, 22 Apr 1999 00:42:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id AAA06468; Thu, 22 Apr 1999 00:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ma-1.rootsweb.com (ma-1.rootsweb.com [209.192.148.153]) by hub.freebsd.org (Postfix) with ESMTP id E026E14EA1 for ; Thu, 22 Apr 1999 00:40:33 -0700 (PDT) (envelope-from twp@ma-1.rootsweb.com) Received: (from twp@localhost) by ma-1.rootsweb.com (8.9.3/8.9.3) id DAA02875; Thu, 22 Apr 1999 03:38:02 -0400 (EDT) Message-Id: <199904220738.DAA02875@ma-1.rootsweb.com> Date: Thu, 22 Apr 1999 03:38:02 -0400 (EDT) From: Tim Pierce Reply-To: twp@rootsweb.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/11274: /etc/rc uses wrong path for a.out libraries Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11274 >Category: i386 >Synopsis: default FreeBSD 3.1 installation can't run a.out binaries. >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 22 00:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Tim Pierce >Release: FreeBSD 3.1-RELEASE i386 >Organization: RootsWeb Genealogical Data Cooperative >Environment: >Description: When /etc/rc creates ld.so.hints, the default search path for system libraries is /usr/lib/aout. However, FreeBSD 3.1-RELEASE puts a.out system libraries in /usr/lib/compat/aout. Old a.out binaries can't be run until /etc/rc is changed to reflect the correct location of a.out libraries. See also PR# i386/8670 for a related issue. >How-To-Repeat: Execute or try to build any a.out binary on a 3.1-RELEASE system. >Fix: This patch to /etc/rc resolves the problem. (If /usr/lib/aout is the correct place for a.out libraries, then /etc/rc should not be changed, but the libraries in /usr/lib/compat/aout should be moved.) --- /etc/rc-3.1 Thu Apr 22 03:26:17 1999 +++ /etc/rc Thu Apr 22 03:11:29 1999 @@ -281,7 +281,7 @@ if [ X"`sysctl -n hw.machine`" = X"i386" ]; then # Default the a.out ldconfig path. : ${ldconfig_paths_aout=${ldconfig_paths}} - _LDC=/usr/lib/aout + _LDC=/usr/lib/compat/aout for i in $ldconfig_paths_aout; do if test -d $i; then _LDC="${_LDC} $i" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message