I've been playing with it some more and I'm still not convinced you've covered the half of it. BTW all the libpam*s can be built as debugging libraries too. I've filed a bug for this and will commit some code this weekend to fix it. http://sourceforge.net/bugs/?func=detailbug&bug_id=131783&group_id=6663 Thanks Andrew Wil Cooley wrote: > > Thus spake Wil Cooley: > > Sorry for sounds like a clueless idiot; but I've got a couple of problems > > building PAM. > > > > Here again is how I'm configuring: > > > > Configuring with: --exec-prefix=/ --cache-file=/usr/src/root2/bos//config.cache > > --libexecdir=//usr/sbin --mandir=//usr/share/man --sysconfdir=//etc > > --infodir=//usr/share/info --prefix=//usr i486-lnxs-linux-gnu --enable-debug > > --enable-libdebug --enable-read-both-confs --enable-static-libpam > > --enable-fakeroot=/ > > > > I guess I gave up and asked for help too soon again. The problem lies > in the '--enable-libdebug' flag. I don't understand why it happens with > '--enable-static-libpam' (although I have some suspicions), but the > problem without was, in fact, because 'libpam.so' did not exist--only > 'libpamd.so' (it took a bit to notice that). > > Attached is a patch to change the -lpam to -lpamd when built with libdebug. > I'm still looking at the problem when building with stats-libpam. > > Wil > -- > W. Reilly Cooley wcooley@nakedape.cc > Naked Ape Consulting http://nakedape.cc > LNXS: Linux/GNU for servers, networks, and http://lnxs.org > people who take care of them. *Now with integrated crypto!* > irc.openprojects.net #lnxs > > Conscience is the inner voice that warns us somebody may be looking. > -- H.L. Mencken, "A Mencken Chrestomathy" > > ------------------------------------------------------------------------ > > pam-examples.patchName: pam-examples.patch > Type: Plain Text (text/plain)