Date: Fri, 16 Jul 2021 15:27:36 -0700 From: Dan Fandrich <d...@coneharvesters.com> To: curl-library@cool.haxx.se Subject: Re: undefined symbol: curl_multi_poll Message-ID: <ypih2fle9acdf...@coneharvesters.com> Content-Type: text/plain; charset=iso-8859-1
>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 The above command worked. By using "export LD_LIBRARY_PATH=/usr/local/lib" I was able to restore functionality. Thank you! On Fri, Jul 16, 2021 at 5:14 PM Steve Scott <stevescott...@gmail.com> wrote: > Hi, first post. I searched the mailing list and couldn't find a solution. > > 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) > <https://ykamal.com/ubuntu-fix-protocol-sftp-not-supported-or-disabled-in-libcurl/?unapproved=56&moderation-hash=29703b7813a9a117d208bc130c4d2066#comment-56> > > 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 > > > -- >From the personal email account of Steve Scott.
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html