error updating curl

omern

Verified User
Joined
Jun 20, 2007
Messages
14
Hello,

I'm trying to update curl to curl-7.18.2 using customapache & ./build curl,
After the installation it says:
Done curl.

"curl --version" still returns
curl 7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 SSL libz NTLM

there are no errors during customapache installation.
os: centos 3.9

Does anyone have ideas what can I do?

Thanks,
Omer
 
The installation of curl was probably successful (from source, with the custombuild script). But I'd be willing to bet you have two versions installed on your system, and the old one is coming first in your PATH.

Can you supply the output of:

rpm -qa | grep curl
whereis curl
locate curl | grep bin
type curl
echo $PATH

And then we'll know for sure :).
 
there is one version that was installed by yum, what can I do to choose which one the server should use?
I tried to remove it and re-install from source.. it says like curl doesnt exist.

rpm -qa | grep curl
curl-devel-7.10.6-8.rhel3
curl-7.10.6-8.rhel3

whereis curl
curl: /usr/bin/curl /usr/local/bin/curl /usr/include/curl /usr/share/man/man1/curl.1.gz

locate curl | grep bin
/usr/bin/curl
/usr/bin/curl-config
/usr/local/bin/curl
/usr/local/bin/curl-config

type curl
curl is /usr/bin/curl

echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin::/usr:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/local/sbin:/root/bin

one version is installed at /usr/bin/curl and the other at /usr/local/bin/curl, how can I know which one to use and how to config it?

Thanks,
Omer
 
solved it by removing curl older rpms and re-install from source.
thanks a lot.
 
Hello,

I'm trying to update curl to curl-7.18.2 using customapache & ./build curl,
After the installation it says:


"curl --version" still returns


there are no errors during customapache installation.
os: centos 3.9

Does anyone have ideas what can I do?

Thanks,
Omer
Hyy!!
i have a slightly problem with my own site and i need some help urgently!!
it is all about the changing between allow_url_fopenPHP atribute !!! i was advised to use cURL instead of the former !! i don't know what is the logic of that things and the real involvement !!!
I need some help to solve that problem!!!
thanks for your attention
SORIN
 
Back
Top