--------------------------------------------------------------------------------

Hello friends,

I am getting an error string "Module is unknown" after installing installing cross-compiled Linux-PAM libraries and modules on SBC(small board computer).

I cross-compiled Linux-PAM-99.4.0.tar.gz on my RH09 desktop machine. Then I took Linux-PAM modules like pam_unix.so, pam_libcrypt.so etc and copied them in /lib/security folder on SBC. Then copied pam.d dir on SBC in /etc dir.
Chaged /etc/pam.d/passwd file as:

#%PAM-1.0

auth required /lib/security/pam_unix.so
password required /lib/security/pam_cracklib.so

and tried to execute passwd command (This supports PAM) but giving me an error that "Module is unknown" I am trying from last 2 days to fix it but failed. I tried various options by changing config file an all.

So please can anybody known how to fix the bug.
plz help.