Skip to content
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

Unable to build Pants in nix-shell on OS X #21398

Open
kvudata opened this issue Sep 12, 2024 · 1 comment
Open

Unable to build Pants in nix-shell on OS X #21398

kvudata opened this issue Sep 12, 2024 · 1 comment
Labels

Comments

@kvudata
Copy link

kvudata commented Sep 12, 2024

Describe the bug
I'm following the instructions at https://www.pantsbuild.org/2.21/docs/contributions/development/setting-up-pants, and when I run pants after nix-shell it fails with

...
  = note: ld: library not found for -liconv
          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `ring` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Pants version
Checked out main as of caa340570525ac6342800f20008c680c80f02ad0.

OS
MacOS (M1 running Sonoma 14.6.1)

Additional info

@kvudata kvudata added the bug label Sep 12, 2024
@jsirois
Copy link
Contributor

jsirois commented Sep 12, 2024

I don't use Pants or macOS or nix-shell and I found this with about 2 minutes search effort: https://discourse.nixos.org/t/nix-shell-rust-hello-world-ld-linkage-issue/17381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants