curl-library
Re: problem within libcurl configure
Date: Sat, 23 Oct 2004 11:17:33 -0400
Hi Dan,
Thanks for the quick response.
I tried what you suggested:
 rpm -V `rpm -qf /usr/kerberos/lib/libgssapi_krb5.so`
but there is no error message (actually no message at all).  And I queried 
the
krb5 format and it's krb5-devel-1.2.7-10.  Here is what I got from
the standard output.
=============={ Command & Std output }====================
[user_at_host user]$ rpm -V `rpm -qf /usr/kerberos/lib/libgssapi_krb5.so`
[user_at_host user]$ rpm -qf /usr/kerberos/lib/libgssapi_krb5.so
krb5-devel-1.2.7-10
==============={ End }=================================
If we have a wrong version of krb5-devel package installed, is there any 
*safe* way
to fix it?  The problem is that this machine is not my own box, so I have to 
be very
cautious if I need to do a patch.
Thanks for your help.
Iris
----- Original Message ----- 
From: "Dan Fandrich" <dan_at_coneharvesters.com>
To: <curl-library_at_cool.haxx.se>
Sent: Friday, October 22, 2004 5:54 PM
Subject: Re: problem within libcurl configure
> On Fri, Oct 22, 2004 at 04:40:25PM +0000, Iris Jing wrote:
>> I ran into trouble with libcurl configure and if someone had the same
>> problem before and would give
>> any suggestion on this, I would greatly appreciate.
>>
>> I was trying to install libcurl (curl-7.12.1) on a Redhat 9 machine 
>> (Kernel
>> 2.4.20-8, i686).  I used
>> the following command for the configuration:
>>
>> ./configure --with-ssl=/usr/local/openssl096m --prefix=/opt/curl-7.12.1/
>>
>> I'm sure that the openssl has been properly installed over that path. 
>> And
>> the 'configure' failed
>> because of this:
> [...]
>> configure:24286: gcc -o conftest -g -O2  -I/usr/kerberos/include
>> -I/usr/local/openssl096m/include/openssl -I/usr/local/openssl096m/include
>> -L/usr/kerberos/lib   -L/usr/local/openssl096m/lib conftest.c -lcrypto
>> -ldl -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
>>  -ldl -lz >&5
>> /usr/kerberos/lib/libgssapi_krb5.so: undefined reference to
>> `__ctype_b_loc_at_GLIBC_2.3'
>> /usr/kerberos/lib/libkrb5.so: undefined reference to
>> `__ctype_toupper_loc_at_GLIBC_2.3'
>> /usr/kerberos/lib/libgssapi_krb5.so: undefined reference to
>> `__ctype_tolower_loc_at_GLIBC_2.3'
>> collect2: ld returned 1 exit status
>> configure:24292: $? = 1
>> ============{ End of Config.log }==============
>>
>> I don't understand why it goes for an older version of GLIBC??  There is 
>> no
>
> It's looking for a newer version of glibc, not older (newer glibc versions
> are generally backwards-compatible).  It looks like your
> libgssapi_krb5.so is incorrect for your machine as it seems to want a
> newer glibc than the rest of your libraries.  See if the command:
>  rpm -V `rpm -qf /usr/kerberos/lib/libgssapi_krb5.so`
> gives you any errors.
>
>> way I can go back to older version of kernel...  (It's not allowed for 
>> this
>> machine)
>
> glibc version is not related to kernel version (except that each glibc has
> a minimum kernel version requirement).
>
>> FYI: I tried install the same libcurl on different machines (various
>> platforms, including RH7 and RH3, etc., and it all works fine)
>>
>> Thanks in advance for any clue you may have.
>
> I'll bet you have the wrong krb5-devel package.
>
>>>> Dan
> -- 
> http://www.MoveAnnouncer.com              The web change of address 
> service
>          Let webmasters know that your web site has moved
> 
Received on 2004-10-23