November 23, 2024, 08:09:14 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: configure: error: PAM enabled but headers or library not found, install the PAM  (Read 27819 times)

Offline indigo

  • Linux Noob !
  • *
  • Posts: 16
I have now following error when I am trying to install Monit, earlier it was error with gcc missing, I fixed that and this error :

configure: error: PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam

I ran
Code: [Select]
Yum install pamPam was installed but still same error ..

And now what is the problem ?

Offline indigo

  • Linux Noob !
  • *
  • Posts: 16
I again found solution myself.. actually I need to install pam-devel also.. so should be like :
Code: [Select]
yum install -y yum-devel
I might look impatient but I was just looking for answer online and after install yum-devel , it solved problem of pam not found.