Recently, I update my previously installed SNAP8 to SNAP9 on my Ubuntu 20.04 system. When I open the desktop, there comes out the following error:
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
Do you know what causes this problem? The previous SNAP8 is fine to use.
Perfect, I found your solution and modify a little bit based on the errors on my server:
first, I have
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
Then, I found in my server, there is swrast_dri.so in /usr/lib/x86_64-linux-gnu/dri/
so I make a link to the path mentioned above: