FS#70173 - [julia] julia 1.6 cannot find libmbedcrypto.so.5
Attached to Project:
Community Packages
Opened by bob (getzze) - Friday, 26 March 2021, 10:17 GMT
Last edited by Antonio Rojas (arojas) - Friday, 26 March 2021, 12:23 GMT
Opened by bob (getzze) - Friday, 26 March 2021, 10:17 GMT
Last edited by Antonio Rojas (arojas) - Friday, 26 March 2021, 12:23 GMT
|
Details
Description:
`mbedtls` package on Arch ships `libmbedcrypto.so.6` whereas julia 1.6 needs `libmbedcrypto.so.5` for `MbedTLS_jll` package in stdlib. It is defined in this file: `/usr/share/julia/stdlib/v1.6/MbedTLS_jll/src/MbedTLS_jll.jl`:40 Solution: I changed s/libmbedcrypto.so.5/libmbedcrypto.so.6/ in the former file and it is compiling. There may be compatibility issues, although it runs ok with my code. Additional info: julia 2:1.6.0-3 mbedtls 2.25.0-1 Steps to reproduce: ```julia julia> using JuMP [ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572] ERROR: LoadError: LoadError: LoadError: InitError: could not load library "libmbedcrypto.so.5" libmbedcrypto.so.5: cannot open shared object file: No such file or directory Stacktrace: [1] __init__() @ MbedTLS_jll /usr/share/julia/stdlib/v1.6/MbedTLS_jll/src/MbedTLS_jll.jl:40 ``` After changing `/usr/share/julia/stdlib/v1.6/MbedTLS_jll/src/MbedTLS_jll.jl`: ``` julia> using JuMP [ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572] ``` |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 26 March 2021, 12:23 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#70164
Friday, 26 March 2021, 12:23 GMT
Reason for closing: Duplicate
Additional comments about closing:
Sorry for misreporting.