curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: undefined symbol: curl_multi_poll

From: Steve Scott via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 18 Jul 2021 13:52:42 -0400

 Date: Fri, 16 Jul 2021 15:27:36 -0700
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-library_at_cool.haxx.se
Subject: Re: undefined symbol: curl_multi_poll
Message-ID: <YPIH2FlE9aCdFXb9_at_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 <stevescott517_at_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
Received on 2021-07-18