drivers - libGL error for MATLAB - Ask Ubuntu


when call matlab terminal got

libgl error: unable load driver: r600_dri.so libgl error: driver pointer missing libgl error: failed load driver: r600 libgl error: unable load driver: swrast_dri.so libgl error: failed load driver: swrast 

my libgl drivers

-rw-r--r-- 1 root root 459392 ago 11 19:49 /usr/lib/x86_64-linux-gnu/mesa/libgl.so.1.2.0 lrwxrwxrwx 1 root root 14 ago 11 19:49 /usr/lib/x86_64-linux-gnu/mesa/libgl.so.1 -> libgl.so.1.2.0 lrwxrwxrwx 1 root root 19 out 25 16:43 /usr/local/matlab/matlab_production_server/r2015a/sys/opengl/lib/glnxa64/libgl.so.1 -> libgl.so.1.5.070200 -r-xr-xr-x 1 root root 3200281 dez 29  2014 /usr/local/matlab/matlab_production_server/r2015a/sys/opengl/lib/glnxa64/libgl.so.1.5.070200 

my graphics card

 lspci -vnn | grep vga -a 12 03:00.0 vga compatible controller [0300]: advanced micro devices, inc. [amd/ati] caicos [radeon hd 6450/7450/8450 / r5 230 oem] [1002:6779] (prog-if 00 [vga controller])     subsystem: hightech information system ltd. caicos [radeon hd 6450/7450/8450 / r5 230 oem] [1787:2311]     flags: bus master, fast devsel, latency 0, irq 42     memory @ e0000000 (64-bit, prefetchable) [size=256m]     memory @ d0100000 (64-bit, non-prefetchable) [size=128k]     i/o ports @ 1000 [size=256]     expansion rom @ d0140000 [disabled] [size=128k]     capabilities: <access denied>     kernel driver in use: radeon     kernel modules: radeon  03:00.1 audio device [0403]: advanced micro devices, inc. [amd/ati] caicos hdmi audio [radeon hd 6400 series] [1002:aa98]     subsystem: hightech information system ltd. caicos hdmi audio [radeon hd 6400 series] [1787:aa98] 

i can locate library

milenko@milenko-desktop:~$ locate r600_dri.so /usr/lib/x86_64-linux-gnu/dri/r600_dri.so 

i have made symbolic link

 sudo ln -sf /usr/lib/x86_64-linux-gnu/mesa/libgl.so.1.2.0 /usr/local/matlab/matlab_production_server/r2015a/sys/opengl/lib/glnxa64/libgl.so.1.5.070200 

but

libgl: opendriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/r600_dri.so libgl: opendriver: trying /usr/lib/x86_64-linux-gnu/dri/r600_dri.so libgl: dlopen /usr/lib/x86_64-linux-gnu/dri/r600_dri.so failed (/usr/local/matlab/matlab_production_server/r2015a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `glibcxx_3.4.21' not found (required /usr/lib/x86_64-linux-gnu/dri/r600_dri.so)) libgl: opendriver: trying ${origin}/dri/tls/r600_dri.so libgl: opendriver: trying ${origin}/dri/r600_dri.so libgl: dlopen ${origin}/dri/r600_dri.so failed (${origin}/dri/r600_dri.so: cannot open shared object file: no such file or directory) libgl: opendriver: trying /usr/lib/dri/tls/r600_dri.so libgl: opendriver: trying /usr/lib/dri/r600_dri.so libgl: dlopen /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: no such file or directory) libgl error: unable load driver: r600_dri.so libgl error: driver pointer missing libgl error: failed load driver: r600 

what should try?i on ubuntu 16.04.

you can try following command make symbolic link.

ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/matlab/xxxxx(r2014b)/sys/os/glnxa64/libstdc++.so.6 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User