1833567 Members
3397 Online
110061 Solutions
New Discussion

64-bit libpam

 
Reinhard Posmyk
Advisor

64-bit libpam

I'm looking for 64-bit libpam.a or libpam.sl on HP-UX 11. Is there a reason HP doesn't supply them in /usr/lib/pa20_64?
rpos
5 REPLIES 5
rick jones
Honored Contributor

Re: 64-bit libpam

While the 11.0 Release notes claim there is 64-bit PAM support, seems that it never actually shipped... So, for PAM on 11, you can only go 32-bit.

If you need support for large files, you can go with the magic #defines described (iirc) in the lseek64 manpage.
there is no rest for the wicked yet the virtuous have no pillows
Mike Stroyan
Honored Contributor

Re: 64-bit libpam

Do you have security policy that says passwords must be at least 4294967296 characters long? ;-)
Reinhard Posmyk
Advisor

Re: 64-bit libpam

There are no specific requirements for the PAM library. I just want to compile pure 64-bit binaries (cc +DD64). As far as I understand, I cannot link them against 32-bit libraries (neither shared nor static). Am I right?
rpos
A. Clay Stephenson
Acclaimed Contributor

Re: 64-bit libpam

You are correct; it's not possible to link mixed 32-bit and 64-bit code. I would contact HP and ask if or when a 64-bit version of the library will be available.
If it ain't broke, I can fix that.
rick jones
Honored Contributor

Re: 64-bit libpam

FWIW, I did find a 64-bit PAM library on my 11.22 (aka 11i 1.6) system:

# file /usr/lib/hpux64/libpam.so.1
/usr/lib/hpux64/libpam.so.1: ELF-64 shared object file - IA64

of course, that is IPF (Itanium Processor Family) and not PA, and 11.22 is an IPF not a PA release, but it does imply that there is at least some progress being made.

(And no, just as one cannot mix 32 and 64-bit in an appliation, on cannot mix IPF and PA :)
there is no rest for the wicked yet the virtuous have no pillows