curl-users
RE: dependency issue with libcurl.so.3 vs libcurl.so.4
Date: Tue, 4 Jun 2013 11:16:48 +0000
Hi Kamil,
Yes you are right. By mistake I have shared the output of RHEL5.1 Development server wherein I build my application.
Now you can have a look of RHEL 6.4 my local server to build my application.
[root_at_vqe-vm iso]# pkg-config --libs libcurl
-lcurl
[root_at_vqe-vm iso]# rpm -qa | grep curl
libcurl-devel-7.19.7-35.el6.x86_64
libcurl-7.19.7-35.el6.i686
curl-7.19.7-35.el6.x86_64
libcurl-7.19.7-35.el6.x86_64
libcurl-devel-7.19.7-35.el6.i686
python-pycurl-7.19.0-8.el6.x86_64
[root_at_vqe-vm iso]#
[root_at_vqe-vm iso]# rpm -qa redhat-release\*libcurl\* | sort -V
No files found.
Regards
-Gopi
-----Original Message-----
From: Kamil Dudka [mailto:kdudka_at_redhat.com]
Sent: Tuesday, June 04, 2013 4:28 PM
To: Gopikrishnan Balasubramanian -X (gopbalas - HCL TECHNOLOGIES LIMITED at Cisco)
Cc: curl-users_at_cool.haxx.se
Subject: Re: dependency issue with libcurl.so.3 vs libcurl.so.4
On Tuesday 04 June 2013 12:09:30 Gopikrishnan Balasubramanian -X (gopbalas - HCL TECHNOLOGIES LIMITED at Cisco) wrote:
> Hi,
>
> Please look at the output;
>
> bxb-cds-005:26> curl-config --libs
> -L/usr/cisco/packages/curl/curl-7.19.2/lib -lcurl bxb-cds-005:27>
> pkg-config --libs libcurl
> -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto
> -lcom_err -lidn -lssl -lcrypto -lz bxb-cds-005:28>
None of the above is provided by a supported RHEL-6 package. You are most likely building your application against a local build of libcurl and trying to run it against the system libcurl afterwards. Either configure the dynamic linker to find your local build of libcurl, or rebuild your application against the genuine libcurl package installed on your system.
Here is the output of the above commands on a sane RHEL-6 system:
$ curl-config --libs
-lcurl
$ pkg-config --libs libcurl
-lcurl
$ rpm -qa redhat-release\* libcurl\* | sort -V
libcurl-7.19.7-35.el6.x86_64
libcurl-devel-7.19.7-35.el6.x86_64
redhat-release-workstation-6Workstation-6.4.0.4.el6.x86_64
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-04