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 '18 at 14:53
  • No, do I have to do this? – Vitaly Zdanevich Apr 11 '18 at 20:35
  • what happens when you build OpenSSL static (and probably also shared...) and then build curl static... ? – thrig Apr 11 '18 at 22:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.