On Fri, Jul 16, 2021 at 05:14:54PM -0400, Steve Scott via curl-library wrote: > I am trying to install curl with libssh2 enabled. I am following this > tutorial: > Ubuntu: Fix Protocol "sftp" not supported or disabled in libcurl « Yousof > Kamal > (ykamal.com) > > I used the following command to configure: > ``` ./configure --with-libssh2=/usr/local --with-secure-transport ``` > When I type curl -V it throws the error > "/usr/local/bin/curl: symbol lookup error: /usr/local/bin/curl: undefined > symbol: curl_multi_poll" > . I also renamed the old curl like this: mv /usr/bin/curl /usr/bin/curl_old. > > What is wrong? Is there a version mismatch? I am installing libssh2-1.9.0 and > curl-7.77.0
Run "curl -V" to look at the versions you're running. It sounds like your curl binary is using an older libcurl library. It could be that "LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/curl -V" would cause it to use your local library and make it work. Dan ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html