-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Link directly to local libraries #3154
Conversation
I tested this on an Arch Linux system that was exhibiting the bug. I don't have an OSX system to test on. |
Works for me on Arch Linux aswell. |
Same here, thanks @singron |
I am unable to get Nix to permanently work beyond the length of one terminal session, as detailed in holochain/holochain-rust#1789. That includes installing
|
@jamesray1 you probably have to run ./bootstrap.sh to generate ./configure. See https://github.com/NixOS/nix/blob/master/doc/manual/installation/building-source.xml |
@singron thanks, I should probably make a separate issue, but that got an error:
I went on any way to run the other commands but those failed:
|
@jamesray1 I think you have to install autoconf-archive. |
Haha, was already onto it! From this comment, after installing autoconf-archive, and checking that other packages were all installed, I was able to run the first two commands.
There is a similar issue for the make error e.g. in #506. |
@jamesray1 You can pass |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Thanks @singron, this works for me! |
Otherwise previous -L flags could cause the linker to use globally installed versions of libraries instead of the ones that were just compiled. Fix NixOS#3087
I rebased on a more recent master. |
@matthewbauer do you have any updates related to this? |
I've been able to use the latest nix so don't need this PR any more. |
Thanks, I'll close it then. |
@edolstra Can you please reopen? It probably only works for @jamesray1 because the AUR applies this unmerged PR as a patch https://aur.archlinux.org/cgit/aur.git/tree/ldflags.patch?h=nix |
@singron I didn't install from the AUR. I used |
https://nixos.org/nix/install downloads a prebuilt binary. If you compile nix from source, you will run into this problem and need a fix like the one in this PR. |
I am also running into this problem; trying to compile version 2.3.3; I am also on Arch Linux. I tried installing |
Otherwise previous -L flags could cause the linker to use globally
installed versions of libraries instead of the ones that were just
compiled.
Fix #3087