Compiling Apache 2.x with SSL on Red Hat 9

On compiling Apache 2.x with SSL on a Red Hat 9 system I received the error "krb5.h: no such file or directory". This is because Redhat decided to put the kerberos header files in /usr/kerberos/include instead of /usr/include.

To get around the problem:

  1. Make sure you have the krb5-devel and krb5-libs rpms installed.
  2. Create Symlinks for the header files.
ln -s /usr/kerberos/include/com_err.h /usr/include/
ln -s /usr/kerberos/include/profile.h /usr/include/
ln -s /usr/kerberos/include/krb5.h /usr/include/

Last modified: 07/05/2006 (most likely earlier as a site migration in 2006 reset some dates) Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top