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

Incompatible library version #106

Closed
vincentcp opened this issue Jun 18, 2020 · 4 comments
Closed

Incompatible library version #106

vincentcp opened this issue Jun 18, 2020 · 4 comments

Comments

@vincentcp
Copy link

Precompiling latest version of FastTransforms does not succeed because of incompatible library (see below) on MacOS.

InitError: could not load library ".julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib"
dlopen(.julia/artifacts/3677b4b693751024a0923d9e7c6d56da89f15b8e/lib/libgmpxx.4.dylib, 1): Library not loaded: @rpath/libgmp.10.dylib
Reason: Incompatible library version: libgmpxx.4.dylib requires version 15.0.0 or later, but libgmp.dylib provides version 14.0.0

@MikaelSlevinsky
Copy link
Member

Cool error message! I'll look into this further, but for the moment does pinning GMP_jll at version 6.1.2 fix it for you temporarily?

@MikaelSlevinsky
Copy link
Member

MikaelSlevinsky commented Jun 18, 2020

Seems like the relevant issue is JuliaRegistries/General#16517. You must be using a very recent version of Julia, say nightly? I'm using 1.3.1 so I can't even pin GMP_jll to version 6.2 as it appears you have above (given the artifact SHA https://github.com/JuliaBinaryWrappers/GMP_jll.jl/blob/f6b8e1ef962610c5ffbf27ee509450bca957e94b/Artifacts.toml#L171).

EDIT: see also JuliaPackaging/Yggdrasil#1159 (comment)

@vincentcp
Copy link
Author

Yes, the solution you suggested fixed the issue, but not only temporarily.

I had the issue using Julia 1.3.0 and installed the newest stable release today (1.4.1) to see if it would help in any way since I am not yet familiar with artifacts.

The error message above was indeed made with the new version of Julia, but I got a similar one in 1.3.0.

I think, this comment can be closed, since after pinning and freeing the artifact I am not able to reproduce this error. Not in 1.3.0 and not in 1.4.1, and not with any combination of up resolve pin and free.

The PR to General two hours ago must have done the trick.
Thank you!

@MikaelSlevinsky
Copy link
Member

The PR to General two hours ago must have done the trick.

I think so!

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

No branches or pull requests

2 participants