cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem within libcurl configure

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 22 Oct 2004 14:54:12 -0700

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-22