From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 10 16:19:15 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 2A2D716A407 for ; Sun, 10 Sep 2006 16:19:15 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D0B943D45 for ; Sun, 10 Sep 2006 16:19:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED98.dip.t-dialin.net [84.165.237.152]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8AFvjI3082042; Sun, 10 Sep 2006 17:57:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8AGJ93L074723; Sun, 10 Sep 2006 18:19:10 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 10 Sep 2006 18:19:28 +0200 From: Alexander Leidinger To: Marcin Cieslak Message-ID: <20060910181928.342eefaf@Magellan.Leidinger.net> In-Reply-To: <45041321.6030003@SYSTEM.PL> References: <45041321.6030003@SYSTEM.PL> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org Subject: Re: /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 16:19:15 -0000 Quoting Marcin Cieslak (Sun, 10 Sep 2006 15:29:05 +0200): > # 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? No, this will not work. You can't start apps which are linked to shared libs anymore after this. The linux linker expects the to be branded differently than what you propose here (been there done that months or years ago). Bye, Alexander. -- Scully: Mulder...toads just fell from the sky! Mulder: I guess their parachutes didn't open. "The X-Files: Die Hand Die Verletzt" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137