Porting linux-wine

Ulrich Spoerlein q at galgenberg.net
Thu Oct 27 01:38:32 PDT 2005


On Thu, 27.10.2005 at 10:00:16 +0200, Alexander Leidinger wrote:
> Searching on freshports for wine or galgenberg doesn't reveal a wine port...
> so what port are we talking about?

Gnaa, it stripped the attachment. You can find the port at
http://www.galgenberg.net/~q/linux-wine.shar

> >% 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).
> 
> Does libwine load plugins? What kind of branding do they have? Depends
> libwine upon another lib and the error message is misleading (prints the
> wrong lib)? Maybe it's not a problem of your port, but a problem somewhere
> else (linux_base/whatever).

ktrace shows that libwine.so.1 is the first library to be loaded and it
crashes immediately.

  1475 wine     NAMI  "/compat/linux/usr/lib/libwine.so.1"
  1475 wine     NAMI  "/compat/linux"
  1475 wine     NAMI  "/compat/linux/usr/lib/libwine.so.1"
  1475 wine     RET   open 3
  1475 wine     CALL  read(0x3,0xbfbfdf14,0x200)
  1475 wine     GIO   fd 3 read 512 bytes
  ...
  1475 wine     RET   read 512/0x200
  1475 wine     CALL  close(0x3)
  1475 wine     RET   close 0
  1475 wine     CALL  old.killpg(0x2,0xbfbfdb70,0xa)
  1475 wine     GIO   fd 2 wrote 113 bytes
       "/compat/linux/usr/bin/wine: error while loading shared libraries: /usr/lib/libwine.so.1: ELF file OS ABI invalid
       "
  1475 wine     RET   old.killpg 113/0x71
  1475 wine     CALL  exit(0x7f)

But then, ISTR that I need a linux-kdump for this to actually work?

> I don't have an answer for the problem, I just can tell what you have to
> search to solve the problem.

Thanks, that's appreciated!

Btw, is ldd or linux-ldd supposed to work on linux binaries/libs?

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/20051027/a17b202a/attachment.bin


More information about the freebsd-emulation mailing list