0

I am trying to run a proprietary software (fdr4) on my ubuntu 24.04. I get the following error :

libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: dlopen /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

What should I do exactly ?

EDIT : I slved the proble partially by creating symlink to i965_dri.so and swrast_dri.so

sudo ln -s /usr/lib/x86_64-linux-gnu/dri/i965_dri.so /usr/lib64/dri/
sudo ln -s /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so /usr/lib64/dri/

Now the problem is the following :

libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: dlopen /usr/lib64/dri/i965_dri.so failed (/usr/local/fdr4/bin/../lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib64/dri/i965_dri.so))
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/local/fdr4/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

EDIT :

I renamed the files in /usr/local/fdr4/bin/../lib/libstdc++.so.6 to force fdr4 to look for the default ones but now the error is as follows :

libGL: dlopen /usr/lib64/dri/swrast_dri.so failed (/lib/x86_64-linux-gnu/libdrm_intel.so.1: undefined symbol: drmCloseBufferHandle)

I installed fdr4 from the binaries. If you want to help me out, you can answer another question I have here How to install libpng12-0 on ubuntu 24.04 LTS. By installing libpng12, I can install fdr4 from apt and hopefully it will work.

1 Answers1

0

Locate the packages for the i965_dri and swrast_dri.so and install them if necessary:

$ apt-file search dri/i965_dri.so
libgl1-amber-dri: /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
$ apt-file search dri/swrast_dri.so
libgl1-mesa-dri: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

If missing, install:

   sudo apt install libgl1-amber-dri ibgl1-mesa-dri

For software linked with wrong paths, you can try to add links to the correct area. So in /usr/lib64, add a link named dri to /usr/lib/x86_64-linux-gnu/dri.

cd /usr/lib64
sudo ln -s /usr/lib/x86_64-linux-gnu/dri dri
ubfan1
  • 19,049