> Does jsm.so itself linked with -lpam? (it should be, or else jabberd will be > unable to load it, yes?) jsm.so is linked with "-lpam" - as it does make PAM calls. > Or maybe > jabberd loads the jsm.so without adding symbols from it (and it's dependant > libs) to the main symbol list (RTDL_something flag for dlopen())? This sound like it could a solution - but, again, only is you have access to all the source. Linking "jabberd" with "-lpam", also works, but is a bit of a messy solution. However, surly, if a PAM module make a call into "libpam" it should be linked with "-lpam" ? James