On Fri, Jul 07, 2006, Christian Aichinger wrote: > | libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so > | libGL error: dlopen /usr/lib/dri/r300_dri.so failed > (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_Dispatch) > | libGL error: unable to find driver: r300_dri.so
> [...] > The workaround proposed there (preloading libGL.so.1) actually > works. > [...] > So the attached patch introduces a new static function > SDL_LoadObject_LibGL() in src/video/x11/SDL_x11gl.c, which does the > same as SDL_LoadObject, but uses RTLD_GLOBAL. If SDL_LOADSO_DLOPEN > is not defined (i.e. not the dlopen SDL_LoadObject implementation is > used, but another one), the patch doesn't touch anything. > > It fixes the bug for me and shouldn't cause any other problems > AFAICS. All these workarounds are interesting, but any idea why /usr/lib/dri/r300_dri.so can't be linked with libGL instead? Regards, -- Sam. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]