Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 09:46:00 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mike Ragusa <mragusa@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux compat and freebsd 7-beta3
Message-ID:  <20071129094600.9r7h0to400cg884o@webmail.leidinger.net>
In-Reply-To: <523561090711281623w1d1a019em884222b3d571c798@mail.gmail.com>
References:  <523561090711261012m446fcf84qa4f0d11765d37d70@mail.gmail.com> <20071127164750.fnzswv0b4ckgsoo8@webmail.leidinger.net> <523561090711281623w1d1a019em884222b3d571c798@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Mike Ragusa <mragusa@gmail.com> (from Wed, 28 Nov 2007 =20
19:23:29 -0500):

>> ldd -v nwmain
> ldd: nwmain: this is an ELF program; use objdump to examine
>> ldd -a nwmain
> nwmain: error while loading shared libraries: /usr/local/lib/libGL.so.1: E=
LF
> file OS ABI invalid
> nwmain: exit status 127
>
> Anything else needed?

Which ldd do you use? I explected something like this:
---snip---
Donnerstag, 29. November 2007, 09:44:26
{0} <FreeBSD 8.0-CURRENT> [M87:~]
(3) netchild@ttyp0 % ldd /compat/linux/usr/bin/head
/compat/linux/usr/bin/head:
         libc.so.6 =3D> /lib/obsolete/linuxthreads/libc.so.6 (0x2806c000)
         /lib/ld-linux.so.2 (0x2804f000)

Donnerstag, 29. November 2007, 09:44:36
{0} <FreeBSD 8.0-CURRENT> [M87:~]
(4) netchild@ttyp0 % which ldd
/usr/bin/ldd
---snip---

Bye,
Alexander.

> On Nov 27, 2007 10:47 AM, Alexander Leidinger <Alexander@leidinger.net>
> wrote:
>
>> Quoting Mike Ragusa <mragusa@gmail.com> (from Mon, 26 Nov 2007
>> 13:12:02 -0500):
>>
>> > I have compiled linux compat into my freebsd kernel but i also had the
>> > same issues when it was loaded as a module.
>> >
>> > I recently installed neverwinter nights client from freebsd ports.
>> > After downloading all the scripts needed for running the application i
>> > get the following error
>> >
>> >> ./nwn
>> > ./nwmain: error while loading shared libraries:
>> > /usr/local/lib/libGL.so.1: ELF file OS ABI invalid
>>
>> We need the output of ldd nwmain. Background info: it seems it picks
>> up the FreeBSD lib, not the linux lib as it should.
>>
>> Bye,
>> Alexander.
>>
>> --
>> Bell Labs Unix - Reach out and grep someone.
>>
>> http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE=
7
>> http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 7207713=
7
>>
>



--=20
You are dishonest, but never to the point of hurting a friend.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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