From owner-freebsd-questions@FreeBSD.ORG Thu Jul 13 15:01:22 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 284AD16A4E7 for ; Thu, 13 Jul 2006 15:01:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93F1C43D72 for ; Thu, 13 Jul 2006 15:01:16 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G12gl-0008ks-D1; Thu, 13 Jul 2006 19:01:15 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G12gm-0006mP-To; Thu, 13 Jul 2006 19:01:16 +0400 To: Eric Schuele References: <44B522BC.5090307@computer.org> <68739333@srv.sem.ipt.ru> <44B651D2.20207@computer.org> <59778381@srv.sem.ipt.ru> From: Boris Samorodov Date: Thu, 13 Jul 2006 19:01:16 +0400 In-Reply-To: <59778381@srv.sem.ipt.ru> (Boris Samorodov's message of "Thu, 13 Jul 2006 18:52:34 +0400") Message-ID: <93697859@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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:01:22 -0000 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 =". > > 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 -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve