public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix error when trying to open SuiteSparse libraries
@ 2026-12-01 21:40 Milan Bouchet-Valat
0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : ef0adf0cf6e223b94d04f741a47f75531b7e5574
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2024-05-02T23:04:22+02:00
Stats : +9/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/ef0adf0cf6e223b94d04f741a47f75531b7e5574?branch=epel10
Log:
Fix error when trying to open SuiteSparse libraries
---
diff --git a/julia.spec b/julia.spec
index 931c005..6c5ea6d 100644
--- a/julia.spec
+++ b/julia.spec
@@ -34,7 +34,7 @@
Name: julia
Version: 1.11.0
-Release: 2.beta1%{?dist}
+Release: 3.beta1%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
# Julia itself is MIT
# libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -380,11 +380,14 @@ pushd %{buildroot}%{_libdir}/julia
test -e %{_libdir}/libopenblas64_.so
test -e %{_libdir}/libopenblas64_.so.0
- # Julia creates symlinks to SuiteSparse libraries linking to libopenblas rather than libopenblas64_
+ # Julia creates unversioned symlinks to SuiteSparse libraries linking to libopenblas rather than libopenblas64_
+ # and it does not create versioned symlinks needed to dlopen() libraries using their unsuffixed names
for LIB in spqr umfpack colamd cholmod ccolamd camd amd suitesparseconfig btf klu ldl rbio
do
rm -f lib${LIB}.so
- ln -s ../$(readelf -d %{_libdir}/lib${LIB}64_.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p') lib${LIB}.so
+ LIBVER=$(readelf -d %{_libdir}/lib${LIB}64_.so | sed -n '/SONAME/s/.*\(lib[^ ]*\.so\.[0-9]*\).*/\1/p')
+ ln -s ../${LIBVER} lib${LIB}.so
+ ln -s ../${LIBVER} ${LIBVER}
# Raise an error in case of changing files
test -e %{_libdir}/lib${LIB}.so
done
@@ -498,6 +501,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
exit 0
%changelog
+* Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.3-beta1
+- Fix error when trying to open SuiteSparse libraries.
+
* Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.2-beta1
- Fix error on startup due to unnecessary recompilation.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:40 [rpms/julia] epel10: Fix error when trying to open SuiteSparse libraries Milan Bouchet-Valat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox