Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 15:33:12 +0200
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        emulation@freebsd.org
Subject:   Re: Porting linux-wine
Message-ID:  <20051026133312.GB1054@galgenberg.net>
In-Reply-To: <20051026150705.qzo2u74dgggcosss@netchild.homeip.net>
References:  <20051026123347.GA1054@galgenberg.net> <20051026150705.qzo2u74dgggcosss@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <exe or lib>" 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 <exe or lib=
>".

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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026133312.GB1054>