You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue when trying to run naabu on an ARM-based Mac (Apple M3) using Docker. I receive the following error:
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
Trace/breakpoint trap
This error occurs even though I am using the amd64 version of naabu within the Docker container. Other amd64 applications in the same Docker environment work as expected, using Rosetta 2 for emulation.
Expected Behavior:
Naabu should run normally without any errors on ARM-based Macs using Rosetta 2 emulation, just like other amd64 binaries.
Steps To Reproduce:
Create a Dockerfile based on kalilinux/kali-last-release (amd64).
Download and install naabu v2.3.1 (amd64) as part of the Dockerfile.
Attempt to run the naabu binary inside the container on an ARM-based Mac (Apple M3).
Observe the error:
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
Trace/breakpoint trap
Anything else:
I have tried the following steps to address the issue:
Adding the required lib64 libraries.
Specifying the container to run with --platform linux/amd64.
Installing naabu's ARM64 version (which works), but I prefer using the amd64 version for compatibility.
It appears that naabu may be utilizing certain dynamic libraries or features that are not fully compatible with Rosetta 2. Any insights or suggestions for running naabu on ARM-based Macs using Rosetta would be appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
oksuzkayra
added
the
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
label
Sep 27, 2024
Even though Rosetta is the one reporting the error, failed to open elf means that it's not finding the ld-linux-x86-64.so.2 shared library, so it's an issue with the Linux installation within the image. Are you adding --platform linux/amd64 to the docker build command too? Otherwise by default on MacOS the image will only be built for aarch64. AFAIK you need to specify --platform on both docker build and docker run.
Naabu version:
v2.3.1
(amd64)Current Behavior:
I am encountering an issue when trying to run
naabu
on an ARM-based Mac (Apple M3) using Docker. I receive the following error:This error occurs even though I am using the
amd64
version ofnaabu
within the Docker container. Otheramd64
applications in the same Docker environment work as expected, using Rosetta 2 for emulation.Expected Behavior:
Naabu
should run normally without any errors on ARM-based Macs using Rosetta 2 emulation, just like otheramd64
binaries.Steps To Reproduce:
kalilinux/kali-last-release
(amd64).naabu
v2.3.1 (amd64) as part of the Dockerfile.naabu
binary inside the container on an ARM-based Mac (Apple M3).Anything else:
I have tried the following steps to address the issue:
lib64
libraries.--platform linux/amd64
.naabu
's ARM64 version (which works), but I prefer using theamd64
version for compatibility.It appears that
naabu
may be utilizing certain dynamic libraries or features that are not fully compatible with Rosetta 2. Any insights or suggestions for runningnaabu
on ARM-based Macs using Rosetta would be appreciated.Thank you!
The text was updated successfully, but these errors were encountered: