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

[+] Statically Linked Musl Builds are broken #18

Open
Azathothas opened this issue Sep 12, 2024 · 1 comment
Open

[+] Statically Linked Musl Builds are broken #18

Azathothas opened this issue Sep 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Azathothas
Copy link

Hi, I tried to build binsider to add in https://github.com/Azathothas/Toolpacks on alpine:latest, however it errors out with:

   Compiling lddtree v0.3.5
   Compiling lurk-cli v0.3.6
error[E0432]: unresolved import `libc::PTRACE_SYSCALL_INFO_EXIT`
  --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lurk-cli-0.3.6/src/lib.rs:77:30
   |
77 | use libc::{user_regs_struct, PTRACE_SYSCALL_INFO_EXIT};
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^ no `PTRACE_SYSCALL_INFO_EXIT` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `lurk-cli` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

And the fact that the official release only contain gnu dynamic binaries, I think you are already aware of this issue.
Hopefully, we can get a statically linked binsider binary that can run anywhere.
Thanks!

@Azathothas Azathothas added the bug Something isn't working label Sep 12, 2024
@orhun
Copy link
Owner

orhun commented Sep 19, 2024

Thanks for the issue! See the following links:

I think it will be possible soon 🤞🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants