cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compilation issue: linking to openssl with absolute path?

From: Romain Rivière <lecoyote_at_lecoyote.org>
Date: Thu, 02 Oct 2014 08:32:14 +0200

Hello,

On 02/10/2014 00:21, Dan Fandrich wrote:
> Have you tried using pkg-config? That is the most reliable method. Just
> set PKG_CONFIG_PATH to the right location for your OpenSSL installation's
> openssl.pc file and it should just work. The various options for compiling
> against OpenSSL are discussed in the INSTALL file, if you haven't already
> seen that.

Wouldn't that result in the final binary looking for OpenSSL in that
particular path? If so, this won't help me: on the destination system,
libssl lives in the expected path. Again, it's only the a.out resulting
of one of the conftest.c that's failing.

Maybe I can ask this a little differently. Where is this particular
a.out built? It would probably be a matter of simply changing the flags
for this one compile job.

Cheers

-- 
Romain
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-02