cURL / Mailing Lists / curl-library / Single Mail

curl-library

problem within libcurl configure

From: Iris Jing <iris_jing_at_msn.com>
Date: Fri, 22 Oct 2004 16:40:25 +0000

Hi,

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 error log on STDOUT}=================
...
checking for pkg-config... /usr/bin/pkg-config
checking OpenSSL options with pkg-config... found
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
configure: error: OpenSSL libs and/or directories were not found where
specified!
========{ End of ./configure error log on STDOUT}===============

I looked into the config.log and the reason for this seems to be related to
glibc.

============{ Config.log }===================
configure:24256: checking for CRYPTO_lock in -lcrypto
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
way I can go back to older version of kernel... (It's not allowed for this
machine)

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.

Iris

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Received on 2004-10-22