Hello everybody,

I have recently installed the new XFree86-4.0 server with OpenGL/DRI
support.
I could not use hardware acceleration because the application fails in
linking against opengl.
I have verified that the right path to the libraries is choosen.
Setting the environment variable LIBGL_DEBUG, I obtain

tdfx... : Unresolved symbol _dlapi_Context

I asked for help at http://dri.sourceforge.net On the user guide I found
this: 9.5 libGL.so and dlopen()
 
"A number of popular OpenGL applications on Linux ...dynamically open the
libGL.so library at runtime with dlopen(),  rather than linking with -lGL
at compile/link time. If dynamic loading of libGL.so is not implemented
carefully, there can be a number of serious
problems. Here are the things to be careful of in your application:  

Specify the RTLD_GLOBAL flag to dlopen(). If you don't do this then
you'll likely see a runtime error message complaining that _glapi_Context
is undefined when libGL.so tries to open a hardware-specific driver.
Without this flag, nested opening of dynamic libraries does not work.
Do not close the library with dlclose() until after XCloseDisplay()
has been called. When libGL.so initializes itself it registers several
... ... "


Is there a patch/workaround for this problem ? Is anybody trying XF86 and 
encountered the same problem ? 
 
Please, help me.

Thank you,

Ludovico Basili




  



 





----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to