cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: configure finding system openssl instead of my own

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 3 Sep 2016 23:39:59 +0200 (CEST)

On Fri, 2 Sep 2016, Linus Nordberg wrote:

> configure does add -L for $HOME/usr/openssl11/lib properly but the configure
> test compilations also use -L/usr/lib/i386-linux-gnu and put that _before_
> the local installation so that the linker uses the system installed openssl
> library instead of my own.

That *feels* like some other test found another library pointing out the
/usr/lib/i386-linux-gnu directory for libraries and that's why is used there.
If you search your config.log file, can you figure out why or where that dir
was added to LDFLAGS?

Then of course that works against you when you have OpenSSL in two places and
that directory shouldn't be used for OpenSSL but should be used for one of the
other libraries...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-09-03