Last updated on August 16, 2020 by Dan Nanni
"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.
$ sudo apt-get install libpam0g-dev
$ sudo yum install gcc pam-devel
Now verify that the missing header file is installed under /usr/include/security
.
This website is made possible by minimal ads and your gracious donation via PayPal or credit card
Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.
Xmodulo © 2021 ‒ About ‒ Write for Us ‒ Feed ‒ Powered by DigitalOcean