No problem.

For anyone else reading this thread, this will be the case for whichever 
package requires MySQL support, which I think may be a companion package to 
SlurmDBD not the package itself (you’ll need the appropriate -dev/-devel 
package), and I believe one or two others.

--
____
|| \\UTGERS,       |---------------------------*O*---------------------------
||_// the State     |         Ryan Novosielski - 
novos...@rutgers.edu<mailto:novos...@rutgers.edu>
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus
||  \\    of NJ     | Office of Advanced Research Computing - MSB C630, Newark
    `'

On May 4, 2018, at 18:24, Will Dennis 
<wden...@nec-labs.com<mailto:wden...@nec-labs.com>> wrote:

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@mlbuild02:~/test-build/slurm-16.05.4$ find . -name "pam_slurm.so" 
-print
./contribs/pam/.libs/pam_slurm.so
pkgbuilder@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-boun...@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 - 
novos...@rutgers.edu<mailto:novos...@rutgers.edu>
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus
||  \\    of NJ     | Office of Advanced Research Computing - MSB C630, Newark

Reply via email to