-
Notifications
You must be signed in to change notification settings - Fork 14
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
meta: add nix shell to build on Linux #12
base: master
Are you sure you want to change the base?
Conversation
Is this linked to an error I'm receiving when trying to build on Fedora 39? "./phoenixd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory" |
It's unrelated, you need something like |
I'm getting a JVM crash at build, starting from |
Interesting @pm47 I will try to reproduce it today with your setting and get back to you, thanks for testing this PR our |
As noted in [1] on Linux systems, it is not possible to build phoenixd due to a mismatch in the libc version. A possible solution is to use Nix and build phoenixd inside the shell with all the dependencies. This way, the host machine can use the binary directly without downgrading libc, which can be dangerous. [1] ACINQ#1 (comment) Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
2513da0
to
856f177
Compare
Signed-off-by: Vincenzo Palazzo <[email protected]>
Ok I was able to reproduce by passing the This is the stack trace and currently, I do not have a solution :/ there is someone with ideas?
|
Clean solution would be to add This proposal is very hackish :-) |
Hi @prusnak,
haha I am a really convoluted nix user, but if you have time to review it we I can spend some time resurrecting it and maybe build a nix package too |
I will happily review and merge package submission to nixos/nixpkgs and/or flake.nix inclusion in this repo. |
As noted in [1] on Linux systems, it is not possible to build phoenixd due to a mismatch in the libc version.
A possible solution is to use Nix and build phoenixd inside the shell with all the dependencies. This way, the host machine can use the binary directly without downgrading libc, which can be dangerous.
[1] #1 (comment)