Hi Ariel, could you help to debug this further, it needs to work out of the box rather than being solvable by a symlink! :-)
The search path for the modules is stored in the binary, this is what I get on mine:
$ dpkg -L libgl1-mesa | xargs strings | grep /usr /usr/lib/dri /usr/share/common-licenses/LGPL. /usr/lib/dri
and is setup here:
$ grep -r DEFAULT_DRIVER_DIR . ./configs/debian-dri: ... -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\"
But also defaults to:
./src/glx/x11/dri_glx.c:#define DEFAULT_DRIVER_DIR "/usr/X11R6/lib/modules/dri"
if that is not defined. It is also overriddable with setting the environment variable:
libPaths = getenv("LIBGL_DRIVERS_PATH");
Is that that environment variable being set anywhere, or do you by chance have a custom compiled 'mesa' installed on your system?
Hi Ariel, could you help to debug this further, it needs to work out
of the box rather than being solvable by a symlink! :-)
The search path for the modules is stored in the binary, this is what I get on mine:
$ dpkg -L libgl1-mesa | xargs strings | grep /usr share/common- licenses/ LGPL.
/usr/lib/dri
/usr/
/usr/lib/dri
and is setup here:
$ grep -r DEFAULT_DRIVER_DIR . debian- dri: ... -DDEFAULT_ DRIVER_ DIR=\"/ usr/lib/ dri\"
./configs/
But also defaults to:
./src/ glx/x11/ dri_glx. c:#define DEFAULT_DRIVER_DIR "/usr/X11R6/ lib/modules/ dri"
if that is not defined. It is also overriddable with setting the environment variable:
libPaths = getenv( "LIBGL_ DRIVERS_ PATH");
Is that that environment variable being set anywhere, or do you by chance have a custom compiled 'mesa' installed on your system?