[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build and use Mesa git without package



Hi X team,

I compiled and built Mesa git myself without create package. After to launch "make install DESTDIR", the librairies and driver are install into this directory :
/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/

To use it instead of the debian packages, i exported the differents PATH like this :
export LIBGL_DRIVERS_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri
export LD_LIBRARY_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/
export EGL_DRIVERS_PATH=/home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/

I follow the old How-to from Cyril Brulebois here : http://pkg-xorg.alioth.debian.org/howto/build-mesa.html to test if the new PATH are used correctly.

- I have good result after to test the Librairies export :
$ ldd lib/libGLESv2.so | grep glapi
libglapi.so.0 => /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fee3192e000) 

- Bad result after to test the Drivers export :
libGL: OpenDriver: trying /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /home/odelpasso/Mesa-devel/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi

The dri folder exist and i have really a file named "radeonsi_dri.so" but i don't understand why the export does not work.

Have you an idea where i did a mistake ?
Thanks for your answer and sorry for my English, i'm French.

Maxime


Reply to: