public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Fix error when trying to open SuiteSparse libraries
Date: Tue, 01 Dec 2026 21:40:49 GMT [thread overview]
Message-ID: <179616124981.1.10070417767480901640.rpms-julia-ef0adf0cf6e2@fedoraproject.org> (raw)
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.
reply other threads:[~2026-12-01 21:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179616124981.1.10070417767480901640.rpms-julia-ef0adf0cf6e2@fedoraproject.org \
--to=nalimilan@club.fr \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox