-
-
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
Don't hard-code libmbedcrypto.so version #40198
Comments
Have you tried editing the version and seeing if |
I think you meant I tried |
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. Closes void-linux#29964 See <JuliaLang/julia#40198> for the upstream bug.
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. Closes void-linux#29964 See <JuliaLang/julia#40198> for the upstream bug.
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. Closes void-linux#29964 See <JuliaLang/julia#40198> for the upstream bug.
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. Closes void-linux#29964 See <JuliaLang/julia#40198> for the upstream bug.
Also change to using vendored llvm to reduce maintenance burden from julia depending on versions of llvm which are quickly obsoleted (closes void-linux#30490); this should also fix julia's build being broken on i686. When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. Closes void-linux#29964 and void-linux#30061 See <JuliaLang/julia#40198> for the upstream bug.
Also change to using vendored llvm to reduce maintenance burden from julia depending on versions of llvm which are quickly obsoleted; this should also fix julia's build being broken on i686. When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. [Ed.: internal references to unversioned shlibs in this patch appear to refer to symlnks that the julia package creates in /usr/lib/julia rather than symlinks in /usr/lib that would require -devel dependencies.] Upstream issue: JuliaLang/julia#40198 Closes: #30703 [via git-merge-pr] Closes: #30490 Closes: #30061 Closes: #29964
Also change to using vendored llvm to reduce maintenance burden from julia depending on versions of llvm which are quickly obsoleted; this should also fix julia's build being broken on i686. When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. [Ed.: internal references to unversioned shlibs in this patch appear to refer to symlnks that the julia package creates in /usr/lib/julia rather than symlinks in /usr/lib that would require -devel dependencies.] Upstream issue: JuliaLang/julia#40198 Closes: void-linux#30703 [via git-merge-pr] Closes: void-linux#30490 Closes: void-linux#30061 Closes: void-linux#29964
Also change to using vendored llvm to reduce maintenance burden from julia depending on versions of llvm which are quickly obsoleted; this should also fix julia's build being broken on i686. When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of sonames than the version provided by Void. We need to patch where the library sonames are hardcoded to allow julia to properly call into libraries provided by mbedtls. [Ed.: internal references to unversioned shlibs in this patch appear to refer to symlnks that the julia package creates in /usr/lib/julia rather than symlinks in /usr/lib that would require -devel dependencies.] Upstream issue: JuliaLang/julia#40198 Closes: void-linux#30703 [via git-merge-pr] Closes: void-linux#30490 Closes: void-linux#30061 Closes: void-linux#29964
I had the same issue on Fedora with the latest upgrade of the COPR package Making the change referenced above solved it (L9-14 here) |
cc: @nalimilan ^^ |
Ah, good catch, the patch wasn't actually applied due to a buggy condition. I've triggered a new build which seems to have fixed it. |
Grazie! |
I think that #43223 addresses the issue more generally - and thus closing this. Please reopen if not the case. |
Usually we don't close issues until a PR that fixes them has been merged. |
On Arch Linux, Julia is built with
USE_SYSTEM_MBEDTLS=1
, and the current version of Mbed TLS on Arch Linux is 2.25. In MbedTLS_jil.jl, the version number of libmbedcrypto is hard-coded tolibmbedcrypto.so.5
, while Arch Linux only provideslibmbedcrypto.so.6
.For this reason MbedTLS cannot be pre-compiled or loaded on Arch Linux. Is it possible to avoid hard-coding of the version number, and change line 34 to
const libmbedcrypto = "libmbedcrypto.so"
instead?The text was updated successfully, but these errors were encountered: