From owner-freebsd-current Wed Mar 25 20:27:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA09581 for freebsd-current-outgoing; Wed, 25 Mar 1998 20:27:01 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA09576 for ; Wed, 25 Mar 1998 20:26:57 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0yI4FT-0000i9-00; Wed, 25 Mar 1998 20:26:39 -0800 Date: Wed, 25 Mar 1998 20:26:36 -0800 (PST) From: Tom To: Ollivier Robert cc: freebsd-current@FreeBSD.ORG Subject: Re: Linux binaries that don't run? In-Reply-To: <19980326002958.A10562@keltia.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Mar 1998, Ollivier Robert wrote: > According to Tom: > > ELF binaries need to be branded before use. ELF is a bit stupid in the > > fact that it doesn't indicate what platform the binary is for. So you > > need to use brandelf to write the type into the binary, so the loader > > knows that it is Linux ELF. > > Nitpicking: that does concern only _static_ binaries. Dynamic have the > loader's name encoded and don't need to be "branded". Strange. The original poster branded his binary, then ran into problems because certain libraries couldn't be found. Sounds like dynically linked to me :) > -- > Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr > FreeBSD keltia.freenix.fr 3.0-CURRENT #0: Sun Mar 1 18:50:39 CET 1998 Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message