Porting linux-wine

Ulrich Spoerlein q at galgenberg.net
Wed Oct 26 06:33:18 PDT 2005


On Wed, 26.10.2005 at 15:07:05 +0200, Alexander Leidinger wrote:
> >/compat/linux/usr/bin/wine: error while loading shared libraries: /usr/lib/libwine.so.1: 
> >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).
> 
> 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/libwine.so.1
/compat/linux/usr/lib/libwine.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), not stripped
File '/compat/linux/usr/lib/libwine.so.1' is of brand 'Linux' (3).


Ulrich Spoerlein
-- 
 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20051026/65eb5a8d/attachment.bin


More information about the freebsd-emulation mailing list