[slurm-users] Finding / compiling "pam_slurm.so" for Ubuntu 16.04
Will Dennis
wdennis at nec-labs.com
Fri May 4 16:17:54 MDT 2018
Yes! That was it. I needed to install ‘libpam0g-dev’ (pkg description: Development files for PAM)
Then after running “./configure, make, make contrib” again –
pkgbuilder at mlbuild02:~/test-build/slurm-16.05.4$ find . -name "pam_slurm.so" -print
./contribs/pam/.libs/pam_slurm.so
pkgbuilder at mlbuild02:~/test-build/slurm-16.05.4$ file ./contribs/pam/.libs/pam_slurm.so
./contribs/pam/.libs/pam_slurm.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=9f00a1ca513188adad900980a832dbb8a0b9ddcb, not stripped
Should be able to re-package and distribute now.
Thanks so much!
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Ryan Novosielski
Sent: Friday, May 04, 2018 5:52 PM
To: Slurm User Community List
Subject: Re: [slurm-users] Finding / compiling "pam_slurm.so" for Ubuntu 16.04
On RedHat-based distributions, there were packages that would not be produced if the required libraries/headers were not available. So you will possibly need a package to be installed on the host where you are building this SLURM packages that is called something like some libpam-dev — I don’t quite remember the naming convention on Debian-based systems. I think the build process might work the same way though: don’t build what can’t be built/is missing dependencies.
You might also be able to install the required build dependencies by finding out what the currently installed PAM package is and doing apt build-dep <whatever name>.
Sorry, I’m not near a computer right now, but this might help you search for info.
--
____
|| \\UTGERS<file:///\\UTGERS>, |---------------------------*O*---------------------------
||_// the State | Ryan Novosielski - novosirj at rutgers.edu<mailto:novosirj at rutgers.edu>
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus
|| \\ of NJ | Office of Advanced Research Computing - MSB C630, Newark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180504/1674ecb6/attachment.html>
More information about the slurm-users
mailing list