Bug 48833

Summary: dri library path issue
Product: Mesa Reporter: Behdad Esfahbod <freedesktop>
Component: OtherAssignee: mesa-dev
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Behdad Esfahbod 2012-04-17 10:51:20 UTC
I'm not sure why I didn't have this problem before.  Anyway, I'm installing mesa to ~/.local, which means dri drivers are installed in ~/.local/dri.

Mesa correctly finds the drivers (eg. ~/.local/lib/dri/i965_dri.so), but dlopen fails loading the driver since it fails to find libdricore.so and other libraries in that directory because ~/.local/lib/dri is not in my LD_LIBRARY_PATH, only ~/.local/lib is.

I think the libdricore.so and libglsl.so should be installed to $libdir, and only the modules to $libdir/dri.
Comment 1 Emil Velikov 2014-09-22 18:18:57 UTC
Afaict the dri modules always were special as they are modules, and one should point to them via LIBGL_DRIVERS_PATH. For everything else that starts with "lib" LD_LIBRARY_PATH comes into play.

For quite some releases mesa has stopped providing both libdricore and libglsl. As such I would close this as obsolete/wontfix.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.