Hi Tina, I also recently encountered symbol errors with slurmd on RHEL 8 , and the work-around posted here solved the problem:
https://klmlinks.wordpress.com/2017/11/18/bug-2443-slurmd-does-not-start-when-built-in-hardened-environment/ I simply added this to the slurm.spec file: %undefine _hardened_build %global _hardened_cflags “-Wl,-z,lazy” %global _hardened_ldflags “-Wl,-z,lazy” -James -----Original Message----- From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Tina Friedrich Sent: Friday, February 21, 2020 10:40 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] RHEL8 support - Missing Symbols in SelectType libraries Hello, shame this seems to be the last message in this thread! I'm currently banging against the same problem on a test system. Did anyone get that to run? If yes, how exactly did you build the packages? Tina On 01/11/2019 18:19, Michael Jennings wrote: > On Friday, 01 November 2019, at 10:41:26 (-0700), Brian Andrus wrote: > >> That's pretty much how I did it too. >> >> But... >> >> When you try to run slurmd, it chokes on the missing symbols issue. > > I don't yet have a full RHEL8 cluster to test on, and this isn't > really my area of expertise, but have you tried disabling "-Wl,-z,now" > from $LDFLAGS during the RPM build? Since the powercap symbols are > defined in slurmctld but not slurmd, I suspect that the symbol > problems are related to the disabling of lazy symbol bindings. > > I could be completely wrong, of course, but that's what I'd try. :-) > > Michael >