-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: Cannot install from source on macOS 12.1 with ld: library not found for -lSystem
#20677
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
Comments
Apparently you need to do something to get |
Thanks for figuring this out. How do I do this? The link command seems to be auto-generated, doesn't it? |
I think you can set |
Thanks for the tip, I tried but it didn't help.
causes the same error, alas. Couldn't find any other tips anywhere. The path/directory does exist. |
Can you see the LDFLAGS being used by the link command in the build log? |
I don't think I can, the complete build log is contained above in the collapsible. |
This works fine for me with the |
I have done another search, it is completely unclear what is injecting No one else commented, so I assume it's some specific build env component that is injecting this flag. I will close this issue. If anyone figures out where |
fwiw, I think it is the gfortran from gcc used in the f2py tests. This stackoverflow suggests setting |
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
I'm trying to contribute and thus build from source but I can't get it to work.
I get the following error:
I created a conda environment using
and this seems to be where
ld
was installed:Reproduce the code example:
Error message:
This is the full stack trace:
Full stack trace
NumPy/Python version information:
Not applicable
The text was updated successfully, but these errors were encountered: