RE: [Pam-discuss] mod_auth_pam on HP-UX?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> A while back (at least a year) someone wrote me about usage on
> HP-UX. If I can find that mail again, I'll give you the details.

That would be great.

> > Although I don't have a libdl, there is a libdld.  I don't know if that
> > should be a substitute or not, but simply substituting that in
> the apxs line
> > didn't help.  I just got a lot of unresolved references when
> running apache.
>
> Run nm on your libraries and look which one contains "dlopen".

I've been learning a lot in the last few days...

I can't find "dlopen" in any of my share libraries.    In doing further
research, it seems that HP has added "dlopen" only in the 64-bit version of
HP-UX 11, which unfortunately I am not running.

According to
http://www.devresource.hp.com/devresource/Docs/Refs/SunPort/Linkers.html the
corresponding library in HP-UX 11.0 32-bit is "shl_load".

However, I think it probably shouldn't matter, because mod_auth_pam doesn't
call dlopen directly, it just calls the system pam routines through
<security/pam_appl.h>  right?

I still don't quite understand how it all fits together, but I'm trying to
learn :-)

> btw, if HP-UX knew the ELF spec, they would have made libpam load the
> needed libraries themselves... (because libdl is really a libpam
> dependency, not a mod_auth_pam one).

I can't say I understand it all, but it appears that the 64-bit HP-UX 11
does use ELF, but the 32-bit uses their SOM binary format that PA-RISC has
used for the last 10 years.   It sounds like they are trying to
update/improve in 64-bit, but I'm just not there.  Darn.

- Alan

--
Alan Millar                  Email: Alan.Millar@LPCorp.com
Unix System Administrator    Voice: 503-624-9004 x3014
Louisiana-Pacific            Fax:   509-692-3948






[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux