projectdiscovery / naabu

A fast port scanner written in go with a focus on reliability and simplicity. Designed to be used in combination with other tools for attack surface discovery in bug bounties and pentests
https://projectdiscovery.io
MIT License
4.7k stars 548 forks source link

GLIBC_2.32 not found #648

Closed No-Github closed 1 year ago

No-Github commented 1 year ago

The GLIBC version on the compiling machine is too high, which causes the compiled file to be unable to run on the AWS machine

image
V0WKeep3r commented 1 year ago

same problem.

V0WKeep3r commented 1 year ago

I wanna kown which version is no need GLIBC_2.34, because my centOS tried to make and failed twice.

idiotboxai commented 1 year ago

same problem

xvapourx commented 1 year ago

same issue

noob0x01 commented 1 year ago

If you are using Ubuntu do:

sudo apt-get install build-essential

This solved the problem. It installs the gcc/g++ compilers and libraries.

No-Github commented 1 year ago

Snipaste_2023-05-10_19-07-31

It doesn't work

Mzack9999 commented 1 year ago

Unfortunately, naabu is tied to the GLIBC_2.34 version installed on the GitHub worker box used to build the release binary. Generally, go is quite tolerant regarding the installed GLIBC version, but with naabu, it's tied to a specific version because of dynamic linking with libpcap. The best option would be to install naabu on the box via go install:

$ go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest

This requires go + libpcap on the machine.