[Centos] gcc, libkrb4 problem

Wed Feb 2 00:34:03 UTC 2005
Troy Engel <tengel at fluid.com>

The long and short of it: stuff broke somewhere. (this is a techie 
description kids, please don't use it without adult supervision)

No form of any 'new' source RPM will compile past this kerberos problem 
on either RHES3 or CentOS3. Tried every SRPM (FC1, FC2, FC3, RH/CentOS4 
beta) I could find and met the same demise, but then again they're all 
based on the 1.11.17 release of cvs.

However, via rpm.pbone.net I found an older cvs-1.11.5-3.src.rpm from 
the FC1 era, it has compiled successfully and Google indicates it's new 
enough to fix the cvs watch bug, so life may be fine again. We'll see.

hth someone else,
-te

Troy Engel wrote:
> 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