From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 29 08:46:12 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E19F116A418 for ; Thu, 29 Nov 2007 08:46:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 8507A13C461 for ; Thu, 29 Nov 2007 08:46:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5570B.dip.t-dialin.net [84.165.87.11]) by redbull.bpaserver.net (Postfix) with ESMTP id CCD1C2E11E; Thu, 29 Nov 2007 09:46:02 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 56328742F2; Thu, 29 Nov 2007 09:46:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1196325960; bh=qinpeYOKxgUxnK1sHyk2s2xeZ2Nqnj3jF dqKwcmd3RA=; h=Message-ID:X-Priority:Date:From:To:Cc:Subject: References:In-Reply-To:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:User-Agent; b=zPl7gH TN2ZNEn2jghl4ri3fRQJso9POo3265e4fDLzxQZ//s6ixjltMqG/BSV14FrW/T8AooI agdSIjlBWPQQPpWSQknVB2uksfJBh0nYTev8/2TsybFt3PIcBN7eLWUxSR0enVRTQI0 Xjh8/FhiCBw8xvhdLok6y4pDYy1BVcqCGXtiMDD/CA9pcyvuQU+6H3ShrJYpsTE/Gu3 9Xg68nIrFxBW0u3mFeZeRvs4YD4/XtJzFoJrvGF7YgInnAMfE+3gxLOTvbw+s4vGYot ojR/yQPJqzQ3wcuVp0EQFH0oruhGLlNcLUld9ytBwxai5/FbVRNsz/JRqN05geHOeOa Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lAT8k00M021560; Thu, 29 Nov 2007 09:46:00 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 29 Nov 2007 09:46:00 +0100 Message-ID: <20071129094600.9r7h0to400cg884o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 29 Nov 2007 09:46:00 +0100 From: Alexander Leidinger To: Mike Ragusa References: <523561090711261012m446fcf84qa4f0d11765d37d70@mail.gmail.com> <20071127164750.fnzswv0b4ckgsoo8@webmail.leidinger.net> <523561090711281623w1d1a019em884222b3d571c798@mail.gmail.com> In-Reply-To: <523561090711281623w1d1a019em884222b3d571c798@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.427, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_BJ 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linux compat and freebsd 7-beta3 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 08:46:12 -0000 Quoting Mike Ragusa (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} [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} [M87:~] (4) netchild@ttyp0 % which ldd /usr/bin/ldd ---snip--- Bye, Alexander. > On Nov 27, 2007 10:47 AM, Alexander Leidinger > wrote: > >> Quoting Mike Ragusa (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