From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 10 13:29:16 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3B6516A403 for ; Sun, 10 Sep 2006 13:29:16 +0000 (UTC) (envelope-from saper@SYSTEM.PL) Received: from mail01.ish.de (pip252.ish.de [80.69.98.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E1D43D45 for ; Sun, 10 Sep 2006 13:29:15 +0000 (GMT) (envelope-from saper@SYSTEM.PL) Received: from [81.210.201.87] (account saper@iesy.net HELO saperski.saper.info) by mail-fe-01.mail01.ish.de (CommuniGate Pro SMTP 5.0.6) with ESMTPSA id 75449103 for emulation@freebsd.org; Sun, 10 Sep 2006 15:29:14 +0200 Received: from [127.0.0.1] (saperski.saper.info [127.0.0.1]) by saperski.saper.info (8.13.8/8.13.8) with ESMTP id k8ADT5WL002581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 10 Sep 2006 15:29:07 +0200 (CEST) (envelope-from saper@SYSTEM.PL) Message-ID: <45041321.6030003@SYSTEM.PL> Date: Sun, 10 Sep 2006 15:29:05 +0200 From: Marcin Cieslak User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.4) Gecko/20060721 SeaMonkey/1.0.2 MIME-Version: 1.0 To: emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: /lib/ld-linux.so.2: cannot execute binary file: fix propsal X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 13:29:16 -0000 # in linux chroot: "/usr/bin/ldd: line 165: /lib/ld-linux.so.2: cannot execute binary file" Quickfix: sudo brandelf -t Linux /compat/linux/lib/ld-2.3.6.so Correct fix: Adjust @{FIND} commands in emulator port Makefiles also to include ${PREFIX}/${PREFIX_SUBDIR}lib In general, I guess ELF shared libraries should be Linux branded as well? -- << Marcin Cieslak // saper@system.pl >>