Open ziyincody opened 2 years ago
Similar problem here. Building from within nix-shell --pure
fails for me when building with CGO with ld: framework not found CoreFoundation
.
I DO have darwin.apple_sdk.frameworks.CoreFoundation
specified as buildInputs
in my mkShell
derivation though. Also libiconv
.
Similar problem here. Building from within
nix-shell --pure
fails for me when building with CGO withld: framework not found CoreFoundation
.I DO have
darwin.apple_sdk.frameworks.CoreFoundation
specified asbuildInputs
in mymkShell
derivation though. Alsolibiconv
.
Have you ever solved this?
I too have this problem.
Me too. I have this problem.
mhh its strange that nobody posted a answer yet :(
I hacked this by adding -F/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/
to my linker flags (LDCONFIG might work...)
Add clang to your nix environment instead of using system clang
Describe the bug I'm trying to run
nix-shell --pure
for a project but it always fails with errorI wonder if anyone might have any idea what's going on? I'm using MacOS 12.0.1 with M1 chips running on Terminal Rosetta.
Here's the full log