-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
gradle dist - Failed to load native library 'libnative-platform.so' for Linux amd64 #34707
Comments
Can you try setting |
@NeQuissimus I tried following the instructions from that ticket but still got the same error (possible I did not apply the changes correctly). Other instances of this |
madveru from #nixos IRC tried to build it from my git clone and got a different error:
Possibly |
I think the issue is that I am using Gradle wrong, my nix expression is the only one using |
@NeQuissimus Your suggestion worked in the end by setting
Thank you. I think the issue can be closed now. |
Awesome! I am glad you worked it out! |
I am trying to build a Freeplane derivation based on Freemind, see: https://github.com/razvan-panda/nixpkgs/blob/freeplane/pkgs/applications/misc/freeplane/default.nix
During the gradle build step it is throwing the following error:
Running
gradle dist
from terminal works fine. I'm guessing that maybe one of the globally installed Nix packages provides a fix to the issue and they are not visible during the build.I searched a lot but couldn't find any working solution. For example, removing the
~/.gradle
folders didn't help.To reproduce the issue just
git clone https://github.com/razvan-panda/nixpkgs
, checkout the freeplane branch and runnix-build -A freeplane
in the root of the repository.More information in SO question comments: https://stackoverflow.com/q/48652914/750216
"x86_64-linux"
Linux 4.9.78, NixOS, 17.09.2905.c1d9aff56e0 (Hummingbird)
yes
no
nix-env (Nix) 1.11.16
"nixpkgs-unstable-18.03pre126798.42b9b8f7c86, nixos-17.09.2905.c1d9aff56e0, nixos-unstable-18.03pre118631.66b63d2f5a"
""
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: