Hi Dieter, Dieter Nützel wrote: > OK, Allen Akin told you what the LSB standard is: > libGL* belongs into /usr/lib. > > lrwxrwxrwx 1 root root 25 Feb 17 01:50 libGL.so.1 -> > /usr/X11R6/lib/libGL.so.1
> X11R6/lib> l libGL* libglut* > lrwxrwxrwx 1 root root 12 Feb 17 01:50 libGL.so.1 -> > libGL.so.1.2 > -rwxr-xr-x 1 root root 509595 Feb 17 01:50 libGL.so.1.2 Symlinking to the "correct" libGL (in /usr/X11R6-DRI) is almost the same as copying it to /usr/lib, it still interferes with the distro's packaging system and might not survive the next upgrade (on Debian unstable, that means: soon :-)). I'm looking for a way to put the libGL in /usr/local/lib (or /usr/X11R6-DRI/lib) (where it is now), and not having to touch the /usr/lib symlink to the distro's /usr/X11R6/lib/libGL. For example, via the environment variable override trick below. >>which is the libGL from the old Xfree (I've just installed the >>mach64 branch). At the moment, I'm using >>LD_LIBRARY_PATH=/usr/X11R6-DRI/lib:$LD_LIBRARY_PATH, maybe that >>turns out to be a good idea. > > That's not stupid...;-) There was something stupid about this approached, I remember dimly that *something* did not work last time I tried the LD_LIBPATH method. But unless I re-remember, I'll let this rest. At the moment, I'm perfectly happy with this. Anyway, I just compiled the latest mach64 branch and this went without any serious trouble, I'm going to test some more. Congratulations to all involved so far! (now only for a secure driver...) > And please send "cat /proc/dri/0/*" Attached, although I don't actually have any configuration problems :-) [I should resist jumping into threads just to clarify a minor point - that /usr/lib is hardcoded to be loaded before anything in /etc/ld.so.conf] Yours Malte #8-)
a dev pid uid magic ioctls total counts | outstanding type alloc freed fail bytes freed | allocs bytes system 0 0 0 256316 kB | locked 0 0 0 0 kB | dmabufs 0 0 0 0 0 | 0 0 sareas 0 0 0 0 0 | 0 0 driver 10 10 0 6290 6290 | 0 0 magic 3 0 0 36 0 | 3 36 ioctltab 0 0 0 0 0 | 0 0 maplist 23 22 0 360 348 | 1 12 vmalist 30 30 0 360 360 | 0 0 buflist 260 260 0 21504 21504 | 0 0 seglist 0 0 0 0 0 | 0 0 pagelist 0 0 0 0 0 | 0 0 files 7 7 0 280 280 | 0 0 queues 0 0 0 0 0 | 0 0 commands 0 0 0 0 0 | 0 0 mappings 6 6 0 20979712 20979712 | 0 0 buflists 0 0 0 0 0 | 0 0 agplist 3 2 0 124 48 | 1 76 totalagp 2 2 0 16777216 16777216 | 0 0 boundagp 2 2 0 16777216 16777216 | 0 0 ctxbitmap 1 0 0 4096 0 | 1 4096 stub 1 0 0 192 0 | 1 192 mach64 0xe200 ctx/flags use fin blk/rw/rwf wait flushed queued locks slot offset size type flags address mtrr vma use count: 0, high_memory = cfff0000, 0x0fff0000