error while loading: libGL.so.1

Briefly describe your issue below:

After having issues with latest nvidia modules (the one that hotwater fixed), i am unable to run any app that uses libGL.so.1 library. It happen after reinstalling nvidia-driver several times, changing to nouveau and again using nvidia and so on… (a lot things happen during my “fixing time”).
Parrot-upgrade thankfully fixed most of problems, but this one still remains.

What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64)

Linux parrot 5.1.0-parrot1-3t-amd64 #1 SMP Parrot 5.1.3-1parrot1.3t (2019-05-20) x86_64 GNU/Linux

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)

Debian Standard

Configured to multiboot with other systems? (yes / no)

No

If there are any similar issues or solutions, link to them below:

Can’t find it on our forum

If there are any error messages or relevant logs, post them below:

Examples:
$keepassxc
/usr/bin/keepassxc: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

#################
$electrum
[ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower.
Traceback (most recent call last):
File “/usr/bin/electrum”, line 419, in
d.init_gui(config, plugins)
File “/usr/lib/python3/dist-packages/electrum/daemon.py”, line 310, in init_gui
gui = import(‘electrum.gui.’ + gui_name, fromlist=[‘electrum’])
File “/usr/lib/python3/dist-packages/electrum/gui/qt/init.py”, line 36, in
from PyQt5.QtGui import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Also here are some useful logs:
$ locate libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so.1.7.0
/usr/lib/x86_64-linux-gnu/libGL.so.1.7.0

$ ldconfig -v | grep libGL.so.1
ldconfig: Can’t stat /usr/local/lib/i386-linux-gnu: No such file or directory
ldconfig: Can’t stat /usr/local/lib/i686-linux-gnu: No such file or directory
ldconfig: Can’t stat /lib/i686-linux-gnu: No such file or directory
ldconfig: Can’t stat /usr/lib/i686-linux-gnu: No such file or directory
ldconfig: Can’t stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path/usr/lib/x86_64-linux-gnu’ given more than once
ldconfig: /lib/i386-linux-gnu/ld-2.28.so is the dynamic linker, ignoring

ldconfig: /lib/x86_64-linux-gnu/ld-2.28.so is the dynamic linker, ignoring

ldconfig: /lib32/ld-2.28.so is the dynamic linker, ignoring

Thanks!

1 Like

I have the same problem now with my optirun

Already fixed with parrot-upgrade & apt-get install nvidia-driver

The problem comes from firejail sandbox. You can fix it by remove file in /usr/local/bin/. For example:

┌─[dmknght@parrot]─[~]
└──╼ $whereis keepassxc
keepassxc: /usr/bin/keepassxc /usr/lib/x86_64-linux-gnu/keepassxc /usr/local/bin/keepassxc /usr/share/keepassxc /usr/share/man/man1/keepassxc.1.gz

/usr/bin/keepassxc is actuall binary file, and /usr/local/bin/keepassxc is a symlink to firejail

┌─[dmknght@parrot]─[~]
└──╼ $ls -la /usr/local/bin/keepassxc
lrwxrwxrwx 1 root staff 17 Jun  8 23:21 /usr/local/bin/keepassxc -> /usr/bin/firejail

Remove this symlink works for not only keepassxc, but atril, libreoffice and pluma for me

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.