Bernd Kreimeier wrote:
>
> I have encountered one pitfall with the Q2 way of loading
> the (Mesa) GL DLL directly by means of dlopen("libSomeGL.so"):
>
> ldd libMesaGL.so.3.1b2
> libglide2x.so => /opt/local/lib/libglide2x.so (0x40158000)
> libm.so.6 => /lib/libm.so.6 (0x4029d000)
> libc.so.6 => /lib/libc.so.6 (0x402ba000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
>
> nm -D libMesaGL.so.3.1b2 | grep X | grep U
> U XAllocColor
> U XCopyArea
> U XCreateColormap
> U XCreateGC
> ...
>
> Request: Linux/OGL base should require that all libGL DLL's
> an application can link against or load have to ensure
> loading of all required modules and DLL themselves.
I've already implemented this change for Mesa 3.1 on Linux.
I agree that this should be added to the Linux/OpenGL Base draft.
-Brian