linux compat and freebsd 7-beta3
Alexander Leidinger
Alexander at Leidinger.net
Thu Nov 29 00:46:12 PST 2007
Quoting Mike Ragusa <mragusa at gmail.com> (from Wed, 28 Nov 2007
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: ELF
> 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 at ttyp0 % ldd /compat/linux/usr/bin/head
/compat/linux/usr/bin/head:
libc.so.6 => /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 at ttyp0 % which ldd
/usr/bin/ldd
---snip---
Bye,
Alexander.
> On Nov 27, 2007 10:47 AM, Alexander Leidinger <Alexander at leidinger.net>
> wrote:
>
>> Quoting Mike Ragusa <mragusa at 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 = B0063FE7
>> http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
>>
>
--
You are dishonest, but never to the point of hurting a friend.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-emulation
mailing list