<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiple conflicting libGL libraries installed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94086">94086</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Multiple conflicting libGL libraries installed
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>GLX
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chuck.atkins@kitware.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>