Comment 27 for bug 1066599

Revision history for this message
Ma Hsiao-chun (mahsiaochun) wrote :

The upstream fix basically make it _possible_ to compile OSMesa without shared glapi.

It seems that Mesa components except OSMesa do need --enable-shared-glapi .

So I currently work around this issue as I don't install libosmesa* from the repository.

Instead, I compile libOSMesa manually as:
# Download and untar Mesa source
autoreconf -fi
./configure --enable-shared --disable-static --enable-texture-float
--enable-osmesa --disable-gallium-llvm --disable-dri --disable-egl
--disable-glx --with-gallium-drivers= --with-dri-drivers=
make
sudo make install
sudo ldconfig