From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 26 13:33:18 2005 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 7278F16A41F for ; Wed, 26 Oct 2005 13:33:18 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C17043D58 for ; Wed, 26 Oct 2005 13:33:15 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id C246013F2ED; Wed, 26 Oct 2005 15:33:13 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id A7A169CC8A; Wed, 26 Oct 2005 15:33:13 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8FCCC9ABB3; Wed, 26 Oct 2005 15:33:13 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 6264A13F2ED; Wed, 26 Oct 2005 15:33:13 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j9QDXDCl055955; Wed, 26 Oct 2005 15:33:13 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id j9QDXCXM070597; Wed, 26 Oct 2005 15:33:12 +0200 (CEST) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id j9QDXCmQ051638; Wed, 26 Oct 2005 15:33:12 +0200 (CEST) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id j9QDXCJM051637; Wed, 26 Oct 2005 15:33:12 +0200 (CEST) (envelope-from q@galgenberg.net) Date: Wed, 26 Oct 2005 15:33:12 +0200 From: Ulrich Spoerlein To: Alexander Leidinger Message-ID: <20051026133312.GB1054@galgenberg.net> Mail-Followup-To: Alexander Leidinger , emulation@freebsd.org References: <20051026123347.GA1054@galgenberg.net> <20051026150705.qzo2u74dgggcosss@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: <20051026150705.qzo2u74dgggcosss@netchild.homeip.net> X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: emulation@freebsd.org Subject: Re: Porting linux-wine 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: Wed, 26 Oct 2005 13:33:18 -0000 --c3bfwLpm8qysLVxt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 26.10.2005 at 15:07:05 +0200, Alexander Leidinger wrote: > >/compat/linux/usr/bin/wine: error while loading shared libraries: /usr/l= ib/libwine.so.1:=20 > >ELF file OS ABI invalid > > > >Note that, ktracing this process reveals, it is trying to load > >/compat/usr/lib/libwine, so this is ok (I fiddled with LD_LIBRARY_PATH > >before, and got the same result). >=20 > Do a "brandelf " on the lib an on the wine executable (on the= ELF > binary, in case "wine" is a shell wrapper). If they don't agree regarding= the > ELF ABI, you have to fix the wrong one up ("brandelf -t Linux ". Hi, as you can see from the port Makefile, I'm calling brandelf on all binaries= and libs. % file /compat/linux/usr/lib/libwine.so.1; brandelf /compat/linux/usr/lib/l= ibwine.so.1 /compat/linux/usr/lib/libwine.so.1: ELF 32-bit LSB shared object, Intel 803= 86, version 1 (GNU/Linux), not stripped File '/compat/linux/usr/lib/libwine.so.1' is of brand 'Linux' (3). Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDX4WYmArGtfDbn0QRArj9AKCjtzQgrzLfA+RYXJogVNnBKXVMFwCgmDzZ oj7jeHMyixieHpCE60sQFuU= =oXum -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt--