Hello all,
Using CentOS 6.2, when I'm trying to include 'pam_appl.h' and 'pam_misc.h' in a C application, I can't find them as shown below.
[code]
#include <security/pam_appl.h>
#include <security/pam_misc.h>
[/code]
[code]pam_app.c:12:31: error: security/pam_appl.h: No such file or directory[/code]
So, what can I do? Should I install PAM source and recompile it or what I should do?
Thanks in advance :)
[RESOLVED] PAM missing files
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[RESOLVED] PAM missing files
If you should take the recommended step of RPM packaging your C application be sure to include "BuildRequires pam-devel" in your spec file to spare others from the same issue.
Re: [RESOLVED] PAM missing files
@stevemowbray
Thanks very much, I really appreciate it.
@pschaff
That's an important issue. Thanks a lot, sir.
Thanks very much, I really appreciate it.
@pschaff
That's an important issue. Thanks a lot, sir.