Ticket 25548

Summary: Support HDF5 libraries with suffixed names in ax_lib_hdf5.m4
Product: Slurm Reporter: Gennaro Oliva <gennaro.oliva>
Component: Build System and PackagingAssignee: Tim Wickberg <tim>
Status: OPEN --- QA Contact:
Severity: C - Contributions    
Priority: ---    
Version: 26.05.1   
Hardware: Linux   
OS: Linux   
Site: -Other- Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: Patch by Gilles Filippini

Description Gennaro Oliva 2026-07-13 14:52:15 MDT
Created attachment 45818 [details]
Patch by Gilles Filippini

The HDF5 configure check does not handle installations where the HDF5
libraries are built with a name suffix (e.g. hdf5_serial). As a result,
the build fails when configuring Slurm against newer HDF5 releases.
This patch detects the HDF5 library suffix from the linker flags provided
by the HDF5 wrapper and uses it when checking for the HDF5, high-level,
and Fortran libraries.
This restores compatibility with both unsuffixed and suffixed HDF5 library
layouts.
You can find more details here:
https://bugs.debian.org/1139609