On RedHat 9, the openssl libraries link to the kerberos libraries
(libkrb5).  Therefore, to compile programs relying on OpenSSL, you must
have the OpenSSL headers as well as the Kerberos headers.  Unfortunately
(not sure why), instead of putting the headers for the kerberos stuff
under /usr/include, RedHat put them under /usr/kerberos/include.  This
obviously does not fall into gcc's list of default include locations.

You have to two options:

1. Edit the Makefile under the rlm_eap_tls directory and add
-I/usr/kerberos/include so that all the necessary includes are found.
2. Define OPENSSL_NO_KRB5 (add a -DOPENSSL_NO_KRB5 to CFLAGS) in the
Makefile.  This will force a build where the kerberos headers are not
required.

--Mike


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to