https://bugs.freedesktop.org/show_bug.cgi?id=94086
Bug ID: 94086
Summary: Multiple conflicting libGL libraries installed
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: medium
Component: GLX
Assignee: mesa-dev@lists.freedesktop.org
Reporter: chuck.atk...@kitware.com
QA Contact: mesa-dev@lists.freedesktop.org
When enabling Gallium and glx-xlib with autotools, both a "classic mesa"
libGL.so.1.6.0 and a gallium libGL.so.1.5.0 get built and installed. Using the
following configuration for software-only backends:
$ ./configure \
--disable-va \
--disable-gbm \
--disable-xvmc \
--disable-vdpau \
--disable-dri \
--with-dri-drivers= \
--disable-egl \
--with-egl-platforms= \
--disable-gles1 \
--disable-gles2 \
--disable-shared-glapi \
--disable-llvm-shared-libs \
--enable-texture-float \
--enable-glx \
--enable-xlib-glx \
--enable-gallium-llvm=yes \
--enable-gallium-osmesa \
--with-gallium-drivers=swrast \
--prefix=/path/to/install
...
$ make
...
$ make install
..e
$ ls -l /path/to/install
libGL.la
libGL.so -> libGL.so.1.5.0
libGL.so.1 -> libGL.so.1.6.0
libGL.so.1.5.0
libGL.so.1.6.0
libOSMesa.la
libOSMesa.so -> libOSMesa.so.8.0.0
libOSMesa.so.8 -> libOSMesa.so.8.0.0
libOSMesa.so.8.0.0
pkgconfig
The following patch disables the 1.6.0 lib if gallium is enabled:
$ git diff
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 8dc44fd..48d14ff 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -22,8 +22,10 @@
SUBDIRS = . main/tests
if HAVE_X11_DRIVER
+if !HAVE_GALLIUM
SUBDIRS += drivers/x11
endif
+endif
if HAVE_DRICOMMON
SUBDIRS += drivers/dri
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev