Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 10:38:27 +0200
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        emulation@freebsd.org
Subject:   Re: Porting linux-wine
Message-ID:  <20051027083827.GA1070@galgenberg.net>
In-Reply-To: <20051027100016.qpwre4w60woo088c@netchild.homeip.net>
References:  <20051026123347.GA1054@galgenberg.net> <20051026150705.qzo2u74dgggcosss@netchild.homeip.net> <20051026133312.GB1054@galgenberg.net> <20051027100016.qpwre4w60woo088c@netchild.homeip.net>

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

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=2E..
> 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/li=
b/libwine.so.1
> >/compat/linux/usr/lib/libwine.so.1: ELF 32-bit LSB shared object, Intel =
80386, version 1=20
> >(GNU/Linux), not stripped
> >File '/compat/linux/usr/lib/libwine.so.1' is of brand 'Linux' (3).
>=20
> 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
--=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?

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDYJIDmArGtfDbn0QRAozBAKDv0yxka6eNUurr0bZ38XgSt6ugrACgmFGG
tPm0qp5mfdEBKm3OJR6xBHc=
=h1AO
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--



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