error while loading shared libraries
sec13b opened this issue · comments
Sec13B commented
cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
naabu_2.3.0_linux_amd64.zip
cp naabu /usr/bin/naabu
chmod +x /usr/bin/naabu
naabu
naabu: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
locate libpcap
/usr/lib64/libpcap.so
/usr/lib64/libpcap.so.1
/usr/lib64/libpcap.so.1.5.3
/usr/share/doc/libpcap-1.5.3
/usr/share/doc/libpcap-1.5.3/CHANGES
/usr/share/doc/libpcap-1.5.3/CREDITS
/usr/share/doc/libpcap-1.5.3/LICENSE
/usr/share/doc/libpcap-1.5.3/README
cd /usr/lib64/
sudo ln -s libpcap.so libpcap.so.0.8
naabu
naabu: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by naabu)
naabu: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by naabu)
again :
locate libpcap
/usr/lib64/libpcap.so
/usr/lib64/libpcap.so.1
/usr/lib64/libpcap.so.1.5.3
/usr/share/doc/libpcap-1.5.3
/usr/share/doc/libpcap-1.5.3/CHANGES
/usr/share/doc/libpcap-1.5.3/CREDITS
/usr/share/doc/libpcap-1.5.3/LICENSE
/usr/share/doc/libpcap-1.5.3/README
yum install libpcap
Package 14:libpcap-1.5.3-13.el7_9.x86_64 already installed and latest version
any solution ?
Mzack9999 commented
@sec13b I think there is a mismatch between the standard libc library installed on the system and the one used to pre-compile naabu
. I'd recommend installing naabu via go install:
$ go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
This will compile the binary with with the version installed on your system
Mzack9999 commented
I'm closing the issue - Feel free to reopen if needed