curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: compile curl without md5 only for SFTP

From: Michael via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 23 Mar 2017 10:18:42 +0000 (UTC)

back to: undefined symbol: MD5_Init
michael_at_michael-ubuntu:~/CPP/curl-7.53.1$ ./configure --disable-shared --enable-static --prefix=/tmp/curlstaticbuild --disable-ldap --disable-sspi --without-zlib

on Ubuntu 16.04. Discard my previous post about sftp not supported. I seem to have messed with some old stuff.Thanks

      From: Daniel Stenberg <daniel_at_haxx.se>
 To: libcurl development <curl-library_at_cool.haxx.se>
 Sent: Thursday, March 23, 2017 9:03 AM
 Subject: Re: compile curl without md5 only for SFTP
   
On Thu, 23 Mar 2017, Michael via curl-library wrote:

(the topic seems to mismatch with the question...)

> how to statically compile curl for only sftp?

You need to use configure's --disable-XXXX options for each protocol you want
to switch off. ./configure --help | grep '\-\-disable' shows what you have to
pick from.

> michael_at_michael-ubuntu:~$ ./configure --disable-shared --enable-static
> --prefix=/tmp/curlstaticbuild --disable-ldap --disable-sspi --disable-md5
> --without-zlib

There's no --disable-md5 option. Exactly which MD5 functionality are you
trying to get rid of?

> I get a md5 link error at runtime.

Please show us the exact error output so we can understand better what it is!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
   

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-23