Ticket 4450 - configure option --with-shared-libslurm sets build for static linkage
Summary: configure option --with-shared-libslurm sets build for static linkage
Alias: None
Product: Slurm
Classification: Unclassified
Component: Build System and Packaging (show other tickets)
Version: 17.11.0
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Danny Auble
QA Contact:
Depends on:
Reported: 2017-11-29 13:24 MST by Philip Kovacs
Modified: 2017-11-29 14:36 MST (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 17.11.1 18.08.0-pre1
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Note You need to log in before you can comment on or make changes to this ticket.
Description Philip Kovacs 2017-11-29 13:24:32 MST
The release notes for 17.11 state:

-- Add the configure option --with-shared-libslurm which will link to
   libslurm.so instead of libslurm.o thus reducing the footprint of all the

but using that switch you get a static build:

checking Link to libslurm.so instead of libslurm.o... static

The default appears to be a shared build (no configure switch used).

Use either --with-shared-libslurm or --without-shared-libslurm and you get static.
Comment 1 Danny Auble 2017-11-29 14:36:25 MST
Thanks for pointing that out Philip, this is fixed in commit c31addc53cd.