-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[1.8.0-rc2][macOS] could not load library "@rpath/libcurl.4.dylib" error #45979
Comments
How can #45967 possibly be related if it isn't merged yet? |
it could be a fix for it, but I don't know if it is. |
I don't think so. The error message is
and nghttp2 1.47.0 instead has sandbox:${WORKSPACE} # otool -L libnghttp2.dylib
libnghttp2.dylib:
@rpath/libnghttp2.14.dylib (compatibility version 36.0.0, current version 36.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0) It'd look like there is another |
Wait, that's not in julia/stdlib/nghttp2_jll/Project.toml Line 3 in ce5d15e
#45408 has to be backported. |
Why wasn't this caught in CI? |
@staticfloat @gbaraldi Any ideas? |
I can reproduce this locally with:
This is on an Intel Mac (x86_64) running macOS 11.6.7 (20G630). |
I believe this is a 1.8 release blocker, as macOS x86_64 is a Tier 1 platform. |
@SaschaMann out of curiosity, can you try running on |
@giordano That seems to work: https://github.com/julia-actions/setup-julia/runs/7271781363
|
Ok, so it does look like loading the incompatible library works on macOS 12 (probably what's used here in CI) but not 11 (that's what I've been trying to create a small reproducer in C at https://github.com/giordano/macos-compatibility-version, but so far with little success: tests pass on both macOS 11 and 12, I can't trigger the compatibility check at all, not even on macOS 11. |
Ok, I finally managed to figure out this and I have updated the repository at https://github.com/giordano/macos-compatibility-version, adding also a README file to explain what's going on. The gist is that the check for the compatibility is run only when setting a sufficiently old minimum version of macOS (that is, before 10.14, in BinaryBuilder we use 10.12 when building for |
Should be fixed |
Since ~3 days ago,
1.8.0-rc2
and the latest nightlies fromrelease-1.8
are erroring on the GHA macOS runner. I'm not sure if this is caused by an issue with the runner or an issue with Julia.It was still working as of 6368fdc aka
1.8.0-rc1
. 381eac3 is the first commit that I know to have this issue but the tests only run every 24h, so this isn't necessarily the commit that introduced it.Possibly related: #45933, #45967
Full error
Environment info:
Some failing builds:
release-1.8
: https://github.com/julia-actions/setup-julia/actions/workflows/example-builds-nightly.yml1.8.0-rc2
: https://github.com/julia-actions/setup-julia/runs/7266108728?check_suite_focus=trueThe text was updated successfully, but these errors were encountered: