This error looks like this is not static build - and OpenSSL not inside of curl, but after configure among others I see:
SSL support: enabled (OpenSSL)
Build libcurl: Shared=no, Static=yes

Git master, my commands:
DFLAGS="-static" PKG_CONFIG="pkg-config --static" ./configure --disable-shared --enable-static --with-ssl

make curl_LDFLAGS=-all-static

sudo make install

  • is OpenSSL also built and available as static on this system?
    – thrig
    Apr 11, 2018 at 14:53
  • No, do I have to do this? Apr 11, 2018 at 20:35
  • what happens when you build OpenSSL static (and probably also shared...) and then build curl static... ?
    – thrig
    Apr 11, 2018 at 22:51


You must log in to answer this question.

Browse other questions tagged .