[slurm-users] sstat: symbol lookup error: /usr/lib/slurm/auth_munge.so: undefined symbol: slurm_debug

Alex Chekholko alex at calicolabs.com
Fri Apr 12 22:39:34 UTC 2019


Hi all,

I'm running on Ubuntu 18.04.2 LTS
munge is from the Ubuntu package
slurm v18.08.7 I compile myself with

./configure --prefix=/tmp/slurm-build-7 --sysconfdir=/etc/slurm
--enable-pam --with-pam_dir=/lib/x86_64-linux-gnu/security/
--without-shared-libslurm

Then I make a deb with fpm and install that.
fpm -s dir -t deb -v 7.0 -n slurm-18.08 --prefix=/usr/ -C
/tmp/slurm-build-7 .

How do I troubleshoot this sstat error?  I found this previous message but
it's not clear to me what I need to change:
https://www.mail-archive.com/slurm-dev@schedmd.com/msg09087.html

Sounds like we need to change the link order in a makefile somewhere?

All the other binaries seem to work fine.  I've been doing this for a
couple of months now, started with 18.08.5 then 18.08.6.  I think sstat
never worked but the rest works fine; the cluster is in use.

Possibly useful ldd output:

sstat: symbol lookup error: /usr/lib/slurm/auth_munge.so: undefined symbol:
slurm_debug

root at cb-admin:~# ls /usr/lib/slurm/auth_munge.so
/usr/lib/slurm/auth_munge.so
root at cb-admin:~# dpkg -S /usr/lib/slurm/auth_munge.so
slurm-18.08: /usr/lib/slurm/auth_munge.so
root at cb-admin:~# ldd /usr/lib/slurm/auth_munge.so
linux-vdso.so.1 (0x00007fff4a9dc000)
libmunge.so.2 => /usr/lib/x86_64-linux-gnu/libmunge.so.2
(0x00007fe05e741000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fe05e522000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe05e131000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe05eb4f000)
root at cb-admin:~# dpkg -S /usr/lib/x86_64-linux-gnu/libmunge.so.2
libmunge2: /usr/lib/x86_64-linux-gnu/libmunge.so.2
root at cb-admin:~# which sstat
/usr/bin/sstat
root at cb-admin:~# dpkg -S /usr/bin/sstat
slurm-18.08: /usr/bin/sstat
root at cb-admin:~# ldd /usr/bin/sstat
linux-vdso.so.1 (0x00007ffc59ff2000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f71370e5000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f7136ec6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7136ad5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f713768a000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190412/1fa9212a/attachment.html>


More information about the slurm-users mailing list