Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 17:50:03 -0800 (PST)
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/16574: missing aout shared libs -> panic
Message-ID:  <200111080150.fA81o3V39966@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/16574; it has been noted by GNATS.

From: "Matthew Emmerton" <matt@gsicomp.on.ca>
To: <freebsd-gnats-submit@FreeBSD.org>, <root@dva.in-berlin.de>,
	<iedowse@FreeBSD.org>
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
 
 <html>
 <head><title>Error</title></head>
 <body bgcolor=#ffffff>
 <font size=+5>Error:</font><br>Method not supported</body></html>
 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




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