cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-7.43.0 has serious bug that cannot run configure script correctly

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Jul 2015 21:50:24 +0200 (CEST)

On Fri, 24 Jul 2015, Kurakado Matsuri wrote:

> Before building curl, I built OpenSSL and zlib with static linking.
> After that, I hit following:
> env PKG_CONFIG_PATH=/home/openssl/lib/pkgconfig ./configure
> --prefix=/home/curl/ --with-ssl=/home/openssl --with-zlib --disable-dynamic
> --enable-static

The problem is then that there's no way for us to figure out what other libs
that are needed to build. OpenSSL for example requires libdl when linked
statically, so you can build and link with it like this:

$ LDFLAGS=-ldl ./configure --disable-shared

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-24