Ticket 4450

Summary: configure option --with-shared-libslurm sets build for static linkage
Product: Slurm Reporter: Philip Kovacs <pkdevel>
Component: Build System and PackagingAssignee: Danny Auble <da>
Status: RESOLVED FIXED QA Contact:
Severity: 4 - Minor Issue    
Priority: ---    
Version: 17.11.0   
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: 17.11.1 18.08.0-pre1
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

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
   binaries.

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.