FS#29025 - [osmesa] can't link when using NVIDIA driver
Attached to Project:
Arch Linux
Opened by Jonathan Liu (net147) - Wednesday, 21 March 2012, 00:36 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 23 March 2012, 16:50 GMT
Opened by Jonathan Liu (net147) - Wednesday, 21 March 2012, 00:36 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 23 March 2012, 16:50 GMT
|
Details
Description:
Mesa is built with --enable-shared-glapi so the osmesa library depends on libGL.so. If NVIDIA driver is installed, libGL.so is the NVIDIA one so the osmesa library can't find the expected symbols and fails to link. Additional info: * osmesa 8.0.1-2 Steps to reproduce: wget http://cgit.freedesktop.org/mesa/demos/plain/src/osdemos/osdemo.c sed -i -e 's#gl_wrap.h#GL/glu.h#' osdemo.c gcc osdemo.c -lm -lGLU -lOSMesa -o osdemo && ./osdemo test.tga Possible solutions: * Remove --enable-shared-glapi and libglapi package * Build osmesa separately from mesa * Somehow patch osmesa to use static glapi only |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Friday, 23 March 2012, 16:50 GMT
Reason for closing: Won't implement
Friday, 23 March 2012, 16:50 GMT
Reason for closing: Won't implement
You can still use the AUR osmesa if you really need it. I tend to not fix it as it would break our KISS principles and would make the build much more complicated.