cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to find out missing libraries for curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Oct 2014 15:11:50 +0100 (CET)

On Tue, 28 Oct 2014, Nikita Michalko wrote:

> configure:21540: checking for CRYPTO_lock in -lcrypto
> configure:21562: gcc -o conftest -O2 -Wno-system-headers -I/usr/lib64/include
> -I/usr/lib64/include/openssl -L/usr/lib64/lib conftest.c -lcrypto -lz -lrt
>> &5
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lcrypto
> collect2: ld returned 1 exit status
>
> How can I find out which libraries are missing - what exactly is: "lcrypto" ?

That's the crypto lib from OpenSSL.

> And why PKG_CONFIG_LIBDIR will be set to "/usr/lib64/lib/pkgconfig"?

Because you passed in a specific path to configure!

> How can I change it?

Remove or change the path used in the configure arguments.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2014-10-28