cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: dependency issue with libcurl.so.3 vs libcurl.so.4

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 4 Jun 2013 12:58:21 +0200

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