"pam_otpw.c:27:34: fatal error: security/pam_modules.h: No such file or directory"
How can I fix this error?
The missing header file 'security/pam_modules.h' is part of development files for libpam, a PAM (Pluggable Authentication Modules) library. Thus to fix this error, you need to install libpam development package, as described below.
On Debian, Ubuntu or Linux Mint:
On CentOS, Fedora or RHEL:
Now verify that the missing header file is installed under /usr/include/security.
Subscribe to Ask Xmodulo
Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!