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
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: texture- float gallium- llvm --disable-dri --disable-egl gallium- drivers= --with-dri-drivers=
# Download and untar Mesa source
autoreconf -fi
./configure --enable-shared --disable-static --enable-
--enable-osmesa --disable-
--disable-glx --with-
make
sudo make install
sudo ldconfig