building static library libpam

Thorsten Kukuk kukuk at suse.de
Sun Mar 1 14:32:51 UTC 2009


On Sun, Mar 01, Sudarshan Soma wrote:

> Hi All,
> 
> I have downloaded the latest PAM library and modules ,Linux-PAM-1.0.3.
> Can any one please let me know how can i build libpam.a(static library
> that i would link it to the pam modules)

You should never link shared modules against static libraries.
On i586 this may work, but on x86-64 for example this is strictly
forbidden.

Else read the README, there it is explained.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)




More information about the Pam-list mailing list