MATLAB: Matlab2014b generates libGL error: unable to load driver: nouveau_dri.so at startup

libgl

Hi I have just installed matlab2014b on a new install of RedHat Linux 6.6, and when I start matlab, I get the following error
ibGL error: dlopen /usr/lib64/dri/nouveau_dri.so failed (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau
Matlab runs and appears to work OK, but I would like to know how to fix this.
THanks, Jim

Best Answer

Same problem here. I fetched
and unpacked with
rpm2cpio mesa-dri-drivers-8.0.5-1.el6.elrepo.x86_64.rpm | cpio -idmv
There is then a version of the missing driver file in usr/lib64/dri/nouveau_dri.so
which I copied to /usr/lib64/dri/nouveau_dri.so
Then the complaint disappears, and MATLAB R2014b seems to work
/Björn