[Centos] gcc, libkrb4 problem

Troy Engel

tengel at fluid.com
Tue Feb 1 00:43:00 UTC 2005


I'm trying to recompile the source RPM from the FC3 version of cvs 
(http://ayo.freshrpms.net/fedora/linux/3/i386/SRPMS.updates/cvs-1.11.17-4.src.rpm), 
as the version shipped on RHEL/CentOS/etc has a known bug (version 
1.11.2-unix "cvs watch on" doesn't work).

The initial configure is failing with this obscure error:

configure:2257: checking for C compiler default output file name
configure:2260: gcc -I/usr/kerberos/include/kerberosIV 
-I/usr/kerberos/include/kerberosIV  conftest.c -lkrb4 -ldes425 
-lk5crypto >&5
/usr/bin/ld: cannot find -lkrb4
collect2: ld returned 1 exit status

The file(s) do indeed exist in /usr/kerberos/lib, and that path is in my 
/etc/ld.so.conf (re-ran /sbin/ldconfig just in case). The strange thing 
here is that it also fails on RHES3 with the same error -- krb4 libs and 
.so symlinks are all fine, it's in the ld.so.conf.

While apparently a RHES3 buglet of some sort, was wondering if anyone 
could pass on some knowledge or things to try. I have some developers 
wanting to use cvs watch on, cvs server runs CentOS. :-/

thanks for any help!
-te

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com



More information about the CentOS mailing list