Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while loading shared libraries #1062

Closed
sec13b opened this issue May 9, 2024 · 2 comments
Closed

error while loading shared libraries #1062

sec13b opened this issue May 9, 2024 · 2 comments
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@sec13b
Copy link

sec13b commented May 9, 2024

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 ?

@sec13b sec13b added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 9, 2024
@Mzack9999
Copy link
Member

@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
Copy link
Member

I'm closing the issue - Feel free to reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants