Created attachment 719769 [details] Errors when running "using PlotlyJS" When attempting to use the PlotlyJS package with julia 1.6.0 I ran into this reported julia issue [1]. Several Julia packages use hard-coded library versions, which causes compilation failures when these packages are loaded on Gentoo. I have attached the output of "using PlotlyJS" on my system, which fails because Gentoo provides libmbedcrypto.so.6 (as part of net-libs/mbedtls), but the Julia MbedTLS package is hard-coded to search for libmbedcrypto.so.5. Arch Linux appears to have run into the same issue and posted the following patch [2] that they use. I have tested the patch on my local system and it does resolve the issue I had with the MbedTLS code. [1]: https://github.com/JuliaLang/julia/issues/40198 [2]: https://github.com/archlinux/svntogit-community/blob/packages/julia/trunk/julia-hardcoded-libs.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0050cbada802348e25e89ffff441147ed5d385a7 commit 0050cbada802348e25e89ffff441147ed5d385a7 Author: Jeffrey Lin <jeffrey@icurse.nl> AuthorDate: 2021-07-15 03:09:54 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2021-11-18 06:57:47 +0000 dev-lang/julia: remove hardcoded lib versions Closes: https://bugs.gentoo.org/799071 Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl> Signed-off-by: Matthias Maier <tamiko@gentoo.org> .../files/julia-1.6.0-fix-hardcoded-libs.patch | 43 +++++ ...julia-1.6.0-r1.ebuild => julia-1.6.0-r2.ebuild} | 1 + dev-lang/julia/julia-1.6.0.ebuild | 177 --------------------- dev-lang/julia/julia-1.6.3.ebuild | 1 + 4 files changed, 45 insertions(+), 177 deletions(-)