-
Notifications
You must be signed in to change notification settings - Fork 31
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
Linker Error: Incompatible Dynamic Library when Targeting iOS (libiconv.2.tbd built for macOS #56
Comments
this is running on an M2 mac (Sonoma 14.4 Beta) All steps followed in build doc |
What's the output of |
Xcode is in my applications folder:
I even tried a full reinstall of Xcode as well |
kinda sounds like environment variables interfering somehow? that's my best guess at least. I also had a lot of trouble with the homebrew version of cargo/rust and had to install the direct/curl'd version |
@shinyquagsire23 I'm really puzzled. I'm using a direct version for both, and I'm still getting this error. |
Would you mind doing a
to print out even more verbose output from clang and ld? I can't reproduce this on my machine either, so I'm wondering which paths are being passed to ld, and what ld sees as the search paths. |
This is the output:
|
I still have no idea what's going on, but can you do That's the only env variable I could find in Clang's source that can inject an extra If that variable is set, you could do |
Yes Interesting,
Is that not supposed to be there? |
That's good to hear.
Not on my machine (macOS 14.2, Xcode 15.3 beta). If you have the time, would you be able to find what's setting that |
Error when running
zsh build_and_repack.sh
The text was updated successfully, but these errors were encountered: