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: requires glibc 2.5 or later dynamic linker
- goldendict: error while loading shared libraries: libQt5Svg.so.5
- Debugging failed under vscode Ubuntu, unable to open libc-start. C raise. C, etc
- error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file
- Linux CentOS installing protobuf
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- Methods of compiling and installing ffmpeg and libx264 in Linux
- /usr/lib/deepin-wine/wine: error while loading shared libraries: libwine.so.1
- Ubuntu 20.04 installing gfortran-6/ libgfortran.so .3
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- fatal error: Python.h: No such file or directory
- /sbin/mount.vboxsf: mounting failed with the error: No such device
- Solution of OpenCV library import error in Python 3
- Solve the software startup error while loading shared libraries: libgd. So. 2: cannot open shared object error
- Solution to “Ruby / San check”
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- VTK installation
- Call to undefined function mysql_ Connect() solution summary
- Sophus Library Issues (Reasons & Solutions)