From owner-freebsd-questions@FreeBSD.ORG Thu Jul 13 15:13:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7ECC16A4DA for ; Thu, 13 Jul 2006 15:13:40 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.192.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2BB943D6E for ; Thu, 13 Jul 2006 15:13:36 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com?[208.206.151.59]) by comcast.net (rwcrmhc13) with ESMTP id <20060713151334m1300ckv6te>; Thu, 13 Jul 2006 15:13:35 +0000 Message-ID: <44B6631E.3050201@computer.org> Date: Thu, 13 Jul 2006 10:13:34 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5.0.4 (X11/20060604) MIME-Version: 1.0 To: Boris Samorodov References: <44B522BC.5090307@computer.org> <68739333@srv.sem.ipt.ru> <44B651D2.20207@computer.org> <59778381@srv.sem.ipt.ru> <93697859@srv.sem.ipt.ru> In-Reply-To: <93697859@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , sean-freebsd@farley.org Subject: Re: ELF file OS ABI invalid.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 15:13:41 -0000 On 07/13/2006 10:01, Boris Samorodov wrote: > On Thu, 13 Jul 2006 18:52:34 +0400 Boris Samorodov wrote: >> On Thu, 13 Jul 2006 08:59:46 -0500 Eric Schuele wrote: >>> On 07/13/2006 06:50, Boris Samorodov wrote: >>>> (maintainer CCed) >>>> >>>> On Wed, 12 Jul 2006 11:26:36 -0500 Eric Schuele wrote: >>>> >>>>> I am trying to get a linux app to use hardware acceleration. I have a >>>>> couple of linux apps (googleearth, NWN) that *do presently work* with >>>>> hardware acceleration... but this one in particular (linux-ut) *does >>>>> not*. >>>> Which version of linux-ut you are running? > >>> linux-ut-451 = [held] up-to-date with port > >>> Though, I don't think that is in the ports tree yet. Sean sent it to >>> me directly, after he made the port. > > Oh, I gorgot to say that it is at the ports tree now. May be you give > a port a chance? > >>> I asked him about getting hardware acceleration up and running.... and >>> we were not able to figure it out. Though the message below is more >>> descriptive now (in the 451 build) than it was when I asked him >>> previously. > >>>>> It gives me the following error in its log file: >>>>> Critical: Failed loading /usr/compat/linux/usr/X11R6/lib/libGL.so.1: >>>>> /usr/local/ >>>>> lib/libdrm.so.2: ELF file OS ABI invalid >>>> It's really strange that only linux-ut doesn't work. > >>> I agree. > >>>> Eric, are you sure that you don't have any non-standard paths, LD_* or >>>> something else at your environment which ends up with searching >>>> /usr/local before /compat/linux for linux-ut? > >>> No, I'm not exactly. If I modify /usr/local/bin/ut so that it echoes >>> LD_LIBRARY_PATH right before it launches the game I get the following: > >>> LD_LIBRARY_PATH = :/usr/local/share/linux-ut/System > >>> which looked odd. > >> Yes. That may be a culprit. > >>> So I tried the following two, and neither worked. >>> LD_LIBRARY_PATH = >>> :/usr/compat/linux:/usr/compat/linux/usr/lib:/usr/local/share/linux-ut/System >>> LD_LIBRARY_PATH = >>> /usr/compat/linux:/usr/compat/linux/usr/lib:/usr/local/share/linux-ut/System > >>> Both end up with exactly the same error message. > >> I think that you may try to delete all LD_* stuff and restore the >> defaults. I.e. something like: > >> LD_LIBRARY_PATH = ${LD_LIBRARY_PATH} > > I was wrong here. This won't help. You need to delete all stuff from > LD_LIBRARY_PATH. > >> or >> LD_LIBRARY_PATH = : > > Or may be :LD_LIBRARY_PATH =". So you think LD_LIBRARY_PATH should be empty, even void of the path that the ut script puts in there? > >>> I tried to run /usr/compat/linux/usr/bin/ldd on /usr/compat/.../libGL >>> but it gave no output!? Is that correct? > >>>>> Is my linux libGL.so.1 trying to use my FreeBSD libdrm.so.2? Surely >>>>> that's not what is supposed to happen? >>>>> I have: >>>>> FreeBSD 6.1-STABLE i386 as of a few days ago. >>>>> linux-atk-1.9.1 = up-to-date with port >>>>> linux-expat-1.95.8 = up-to-date with port >>>>> linux-fontconfig-2.2.3_5 = up-to-date with port >>>>> linux-glib2-2.6.6 = up-to-date with port >>>>> linux-gtk2-2.6.10 = up-to-date with port >>>>> linux-jpeg-6b.34 = up-to-date with port >>>>> linux-openmotif-2.2.4_2 = up-to-date with port >>>>> linux-pango-1.8.1 = up-to-date with port >>>>> linux-png-1.2.8_2 = up-to-date with port >>>>> linux-realplayer-10.0.7.785.20060201 = up-to-date with port >>>>> linux-sdl-1.2.10_1 = up-to-date with port >>>>> linux-tiff-3.7.1 = up-to-date with port >>>>> linux-xorg-libs-6.8.2_5 = up-to-date with port >>>>> linux_base-fc-4_6 = up-to-date with port >>>>> linux_dri-6.5 = up-to-date with port >>>>> linuxdoc-1.1_1 = up-to-date with port >>>>> linuxpluginwrapper-20051113_4 = up-to-date with port >>>>> What else can I provide that might be of use? Any ideas? > > > WBR -- Regards, Eric