From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3A9A2E16.6F679EF3@iiic.ethz.ch> Date: Mon, 26 Feb 2001 11:21:10 +0100 From: Michel =?iso-8859-1?Q?D=E4nzer?= MIME-Version: 1.0 To: Gareth Hughes Cc: "Timothy A. Seufert" , linuxppc-dev@lists.linuxppc.org Subject: Re: r128 DRI driver now fully functional on PPC References: <3A76769B.87242FAA@valinux.com> <3A963519.C439E7C0@valinux.com> <3A9A246D.72D1B5BE@iiic.ethz.ch> <3A9A2A9D.8A779B@valinux.com> Content-Type: text/plain; charset=iso-8859-1 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Gareth Hughes wrote: > > Michel Dänzer wrote: > > > > "Timothy A. Seufert" wrote: > > > > > > At 9:02 PM +1100 2/23/01, Gareth Hughes wrote: > > > > > > >Run with LIBGL_DEBUG=1 and see what it says. > > > > > > This revealed what was happening. > > > > > > I set the project root to /usr/Xgart to avoid having to overwrite my > > > existing X11 installation. libGL was trying to load r128_dri.so, but > > > it was looking under /usr/X11R6/lib/modules/dri, which doesn't even > > > exist. > > > > Strange, it should look in /lib/modules/dri/ . Seems it > > didn't pick up the right libGL. > > I'd say libGL.so is doing dlopen( "modules/dri/r128_dri.so", ... ) and > thus picking up the first instance of that in the dynamic loader's > path. Similarly, applications linked with -lGL will pick up the first > instance of libGL.so, not necessarily the one residing under the current > X server's ProjectRoot directory. First I thought I'd stand corrected, but on second thought - it looks for /usr/X11R6-DRI/lib/modules/dri/r128_dri.so on my machine (if ProjectRoot is /usr/X11R6-DRI), but /usr/X11R6-DRI/lib isn't in ld.so.conf . It even looks there if I set LD_LIBRARY_PATH to the exports/lib directory in the build tree. Am I still not getting it? :) -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/