LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CentOS 6.5 - Need to find libcurl.a version 7.19.7 (https://www.linuxquestions.org/questions/linux-software-2/centos-6-5-need-to-find-libcurl-a-version-7-19-7-a-4175501271/)

usao 04-10-2014 03:07 PM

CentOS 6.5 - Need to find libcurl.a version 7.19.7
 
Im trying to do a static compile of a program. yum installed curl, but there is no static version of the libcurl library.

checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.19.7
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... no

Dynamic compile works fine as it can find libcurl.so, but I don't have a copy of libcurl.a for static compilation.
Does anyone know where I can find this or what package I need to pull?

John VV 04-10-2014 03:55 PM

you will have to build the static lib

but take EXTRA!!! CARE!!!! on building and installing it
you DO NOT!!! want to replace the already installed version

if you do there will then be a version conflict with the yum/rpm database and the version of curl used

you can use the SRC source code rpm in the centos source repo for curl


All times are GMT -5. The time now is 12:22 PM.