Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 21:46:57 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Eric Schuele <e.schuele@computer.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, sean-freebsd@farley.org
Subject:   Re: ELF file OS ABI invalid....
Message-ID:  <47299886@srv.sem.ipt.ru>
In-Reply-To: <44B666A9.6000500@computer.org> (Eric Schuele's message of "Thu, 13 Jul 2006 10:28:41 -0500")
References:  <44B522BC.5090307@computer.org> <68739333@srv.sem.ipt.ru> <44B651D2.20207@computer.org> <59778381@srv.sem.ipt.ru> <93697859@srv.sem.ipt.ru> <44B6631E.3050201@computer.org> <27616473@srv.sem.ipt.ru> <44B666A9.6000500@computer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Jul 2006 10:28:41 -0500 Eric Schuele wrote:
> On 07/13/2006 10:24, Boris Samorodov wrote:
> > On Thu, 13 Jul 2006 10:13:34 -0500 Eric Schuele wrote:
> >> 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?
> >
> > Yes. All problems we have so far are with non-default settings (which
> > is not good for linuxolator).

> When I try this the results are the same.  Same error message.  :(

Hm. Cam you mail directly to me ktrace.out from tahe command "ktrace
-i <your_exec>"?

> >>>>> 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

WBR
-- 
bsam
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



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