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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 16 Jul 2021 15:27:36 -0700
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
Received on 2021-07-17
Date: Fri, 16 Jul 2021 15:27:36 -0700
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
Received on 2021-07-17