November 21, 2024, 09:34:34 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: configure: error: PAM enabled but headers or library not found, install the PAM  (Read 27719 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.