On Wed, 2006-07-12 at 19:37 -0400, Brice Goglin wrote: > > I am not very familiar with shared libraries. But, since my X driver > (r300_dri.so), and apparently several other ones in /usr/lib/dri/, > needs the symbol _glapi_Dispatch which is defined in /usr/lib/libGL.so, > I would have expected r300_dri.so to depend to libGL.so. > But, ldd does not seem to say it depends on it.
The DRI (not X) drivers *_dri.so used to be linked against libGL, but they no longer are due to AIGLX, where the X server dlopens them, and their references must be resolved in the X server, not libGL. It may be possible to work around this in libGL, but it might be a good idea for SDL to dlopen it with RTLD_GLOBAL nevertheless. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer