-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
libepoxy tries to dlopen libGLX.so.1 as a GL implementation:
libepoxy/src/dispatch_common.c
Lines 192 to 193 in 2df68f8
| #define GLVND_GLX_LIB "libGLX.so.1" | |
| #define GLX_LIB "libGL.so.1" |
libepoxy/src/dispatch_common.c
Lines 550 to 557 in 2df68f8
| # ifdef GLVND_GLX_LIB | |
| /* prefer the glvnd library if it exists */ | |
| if (!api.glx_handle) | |
| get_dlopen_handle(&api.glx_handle, GLVND_GLX_LIB, false, load); | |
| # endif | |
| if (!api.glx_handle) | |
| get_dlopen_handle(&api.glx_handle, GLX_LIB, exit_if_fails, load); | |
| #endif |
But glvnd builds libGLX.so.0 (as can be seen e.g. here and here). So the code path is always going to fall back to loading libGL.so.1.
Trying to open a library version that doesn't yet exist seems like a bad idea: what if it eventually does get created and doesn't have the expected ABI?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels