Hello, I have just written a PAM module (with PC/SC lite support) and a PAM application, both very simple. And I have found that I SHOULD compile the PAM application with the -lpthread and -lpcsclite flags, even if the program has no line related with PC/SC lite.
If I don't use (or forget to use) those flags, that is what happens: just after exit() from the program, it receives a SIGSEGV signal so it finishes abnormally its execution. This does not happen if pam_end() is not called. If this a bug or a feature? :) Jesus *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
