in reply to Authen::PAM error

unable to resolve symbol
site:perlmonks.org unable to resolve symbol
ldd ...auto/Authen/PAM.so

locate pam_unix_*.so

echo .../dir/path/where/exist/pam_unix_*.so >> /etc/ld.so.conf

ldconfig

export LD_LIBRARY_PATH= .../dir/path/where/exist/pam_unix_*.so

Replies are listed 'Best First'.
Re^2: Authen::PAM error
by alele (Initiate) on Jun 14, 2011 at 21:47 UTC
    Thanks for your reply
    Tried your suggestions, but problem is still there
    Any further insights on why the problem could be happening are appreciated
    Please let me know if more information from my setup is required. Basically requirement is that user logging-in through SSH should be authenticated by my code/script

    Thanks --Ajay

      I showed you how to pinpoint the problem and how to fix it.

      If my directions did not work for you, you need to show exactly what you did, and what you saw (copy paste from the terminal).

      export LD_LIBRARY_PATH=.... only works for the current user; If you were using apache and edited ld.so.conf, you might need to restart apache...