[Mesa-dev] libGL not build but opengl=true option is set

Michel Dänzer michel at daenzer.net
Fri Mar 12 10:48:08 UTC 2021

On 2021-03-11 12:14 a.m., Quentin SCHIBLER wrote:
> I have built mesa with wayland platform, gbm and egl enabled, glx disabled, gles1 disabled and gles2 enabled.
> The build is successful, but I cannot find libGL.so. libGLES2.so is present, and GL includes files are also present.

libGL includes GLX APIs, so it cannot be built with -Dglx=false.

If you want to avoid GLX, you can use GLVND's libOpenGL instead.

Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list