Encountered while using GDB
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.5.x86_64
Modify enable = 1 of “/ etc/yum. Repos. D/CentOS debuginfo. Repo” file first; If the file does not exist, create it manually and add the following contents:
[debug]
name=CentOS-7 - Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=1
Then execute
sudo yum install -y glibc
sudo debuginfo-install glibc
If GDB cannot run after this, a prompt message will appear
error while loading shared libraries: libcunit.so.1: cannot open shared object file: No such file or directory
[Inferior 1 (process 23252) exited with code 0177]
resolvent
sudo find/-name "libcunit.so.1"
After finding the corresponding path, copy libcunit. So. 1 to the/lib64 directory
cp <find_path> /lib64
Then you can run normally.
Read More:
- error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file o
- error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file
- Solve the software startup error while loading shared libraries: libgd. So. 2: cannot open shared object error
- nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open
- goldendict: error while loading shared libraries: libQt5Svg.so.5
- libaio.so . 1: cannot open shared object file solution
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- Problem solving: importerror: libcublas.so .9.0: cannot open shared object file: No such file
- CONDA 3090 install tenslow GPU report error importerror: libcublas.so .9.0: cannot open shared object file
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- /usr/sbin/zabbix_agentd: error while loading shared libraries: libcurl.so.4
- OSError: libnccl.so.2: cannot open shared object file: No such file or directory
- /usr/lib/deepin-wine/wine: error while loading shared libraries: libwine.so.1
- error while loading shared libraries: requires glibc 2.5 or later dynamic linker
- RuntimeError: Couldn‘t open shared file mapping: <torch_16716_3565374679>, error code: <1455>
- Ubuntu 16.04 Samba shared folder
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- Error running Eclipse: failed to load the JNI shared library
- Failed to load the JNI shared library solution