Date: Mon, 29 Jul 2002 05:20:06 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: RE: docs/41110: "apropos linux" doesn't find brandelf Message-ID: <200207291220.g6TCK6Bn044112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/41110; it has been noted by GNATS. From: John Baldwin <jhb@FreeBSD.org> To: Rich Morin <rdm@cfcl.com> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: RE: docs/41110: "apropos linux" doesn't find brandelf Date: Mon, 29 Jul 2002 08:14:35 -0400 (EDT) On 29-Jul-2002 Rich Morin wrote: > >>Number: 41110 >>Category: docs >>Synopsis: "apropos linux" doesn't find brandelf >>Confidential: no >>Severity: non-critical >>Priority: low >>Responsible: freebsd-doc >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: doc-bug >>Submitter-Id: current-users >>Arrival-Date: Mon Jul 29 00:40:04 PDT 2002 >>Closed-Date: >>Last-Modified: >>Originator: Rich Morin >>Release: FreeBSD 4.5-RELEASE i386 >>Organization: > Canta Forda Computer Laboratory >>Environment: > > FreeBSD cfcl.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: > Mon Jan 28 14:31:56 GMT 2002 > murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > >>Description: > > I recently tried to run a Linux binary on my FreeBSD 4.5 > system, getting the following nastygram: > > ELF binary type "0" not known. > Abort trap > > Using file(1) on the binary, I got: > > ELF 32-bit LSB executable, Intel 80386, version 1, statically > > I tried an "apropos linux" with no success, and had to be > bailed out by someone on freebsd-questions. > > >>How-To-Repeat: > > % apropos linux > >>Fix: > > One possible fix would be to expand the brandelf "NAME" line: > > brandelf - mark an ELF binary for a specific ABI (eg, Linux) > > A more general solution would be to add a "linux" page (eg, in > section 7), talking about known issues with Linux compatibility > mode, etc. Since brandelf can be used for OSF/1 binaries (on alpha), Solaris binaries, etc., the more general solution is preferred. :) linux(7) (or maybe linux(4)) could also explain the /compat/linux magic. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207291220.g6TCK6Bn044112>