can reth be compiled against the target x86_64-unknown-linux-musl #7445
Unanswered
MoeMahhouk
asked this question in
Help
Replies: 1 comment
-
did you check out https://reth.rs/installation/binaries.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
I would like to compile the reth binary against the target x86_64-unknown-linux-musl because I would like to run it on a minimal VM.
However, it seems that the database mbdx is having some dependencies that are not compatible with musl-gcc (error: "limits.h file not found" during compilation).
I tried to adjust the compiler in the build.rs in the libmdbx-rs directory but no luck either.
I would appreciate your help if possible.
edit:
I made sure that musl, musl-dev and musl-tools are installed and up-to-data.
Also set the CC env variable to musl-gcc instead.
Alternatively, would it be possible to have a static reth binary?
Beta Was this translation helpful? Give feedback.
All reactions