-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
vcpkg: fix binaries not being able to find libstdc++ #329033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a strong opinion about that, but I would prefer if we stay explicit about which triplet we patch, and list them one by one. What do you think @h7x4 ?
Since there's a lot of triplets, lets keep the find command for matching all linux triplets automatically.
Before this change, if you tried to run a binary that was installed by vcpkg, then you would get this error: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory This change prevents that error from happening. Fixes NixOS#317553.
Cool stuff, thank you! |
Description of changes
At the moment, if you try to run a binary that was installed by vcpkg, then you will get this error:
This PR prevents that error from happening.
Fixes #317553.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.