configure: error: Kerberos libraries not found

webignition

Well-Known Member
Jan 22, 2005
1,880
0
166
OS: CentOS 4.2 64-bit
WHM/cPanel: WHM 10.8.0 cPanel 10.8.1-C112

I'm trying to manually install php5 cgi alongside php4 cgi on a fresh new machine. Not much apart from the OS and cPanel has been installed.

During the configure stage I encounter a slightly odd kerberos-related error, as per the subject of this thread. More specifically, the entire error goes along the lines of:

Code:
configure: error: Kerberos libraries not found.

      Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )
The configure line has --with-kerberos present, with no path specified. As per the error, I took a peek at /usr/kerberos and it appears to have plenty within, although I'm not exactly sure what should be there or what might be missing.

I also tried modifiying the configure command to include --with-kerberos=/usr/kerberos and that made no difference.

Any suggestions?
 

webignition

Well-Known Member
Jan 22, 2005
1,880
0
166
Looks like the kerberos libraries were hanging out in /usr/lib64.

Creating symlinks from /usr/kerberos/lib/ to the relevant libraries sorted things out. The relevant libraries, in case this proves useful to someone else, were /usr/lib64/libkrb5.a and /usr/lib64/libkrb5.so.
 
Last edited: