From owner-freebsd-bugs Wed Nov 7 17:50:14 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D806837B417 for ; Wed, 7 Nov 2001 17:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA81o3V39966; Wed, 7 Nov 2001 17:50:03 -0800 (PST) (envelope-from gnats) Date: Wed, 7 Nov 2001 17:50:03 -0800 (PST) Message-Id: <200111080150.fA81o3V39966@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Matthew Emmerton" Subject: Re: kern/16574: missing aout shared libs -> panic Reply-To: "Matthew Emmerton" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/16574; it has been noted by GNATS. From: "Matthew Emmerton" To: , , Cc: Subject: Re: kern/16574: missing aout shared libs -> panic Date: Wed, 7 Nov 2001 20:48:08 -0500 I'm running 4.3-RELEASE-p15. I grabbed the Zeus FreeBSD-aout search cgi (http://support.zeus.com/security/search/search.cgi.FreeBSD-aout.gz) and tried to run it on my ELF-only system (no compat22 or aout libs installed.) Doing a 'ldd' on it and trying to run it gave: gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: Couldn't open /usr/libexec/ld.so. search.cgi.FreeBSD-aout: exit status 1 gabby# ./search.cgi.FreeBSD-aout Couldn't open /usr/libexec/ld.so. gabby# After installing compat22 to get a.out compatibility: gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: -lc.3 => /usr/lib/compat/aout/libc.so.3.1 (0x2002f000) gabby# ./search.cgi.FreeBSD-aout Content-Type: text/html Error Error:
Method not supported gabby# And, then after removing /usr/lib/compat/aout/libc.so.3.1 (to force a "missing library" condition): gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: -lc.3 => not found (0x0) gabby# ./search.cgi.FreeBSD-aout ld.so failed: Can't find shared library "libc.so.3.1" gabby# So to me, it looks like missing aout libraries are handled gracefully now. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message