Date: Thu, 22 Apr 1999 03:38:02 -0400 (EDT) From: Tim Pierce <twp@rootsweb.com> To: FreeBSD-gnats-submit@freebsd.org Subject: i386/11274: /etc/rc uses wrong path for a.out libraries Message-ID: <199904220738.DAA02875@ma-1.rootsweb.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904220738.DAA02875>
