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

Reply via email to