New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl: symbol lookup error: curl: undefined symbol: curl_mime_free #4448
Comments
On Tue, Oct 01, 2019 at 04:09:22AM -0700, hongyi-zhao wrote:
The latest git version:
$ curl -V
curl 7.67.0-DEV (x86_64-pc-linux-gnu) libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
^^^^^^^^^^^^^^
There's the problem—curl was built from git but it's using an older libcurl.
You need to make sure the executable built from git is using the libcurl built
from git by e.g., using LD_LIBRARY_PATH or -rpath when linking.
|
I don't have experience on using this option for curl compile. Could you please give the corresponding commands? |
The quickest way around the problem is to run curl with:
LD_LIBRARY_PATH=/path/to/your/libcurl curl www.baidu.com
where the file /path/to/your/libcurl/libcurl.so.4 is your home-built libcurl.
|
Still not so clear. I only using the make to make curl, and don't know how to make libcurl. |
Got it, the make will also make libcurl and put it in the following location: Regards |
This might help https://gist.github.com/fideloper/f72997d2e2c9fbe66459 |
Yes, your screenshot saved me! :) |
The latest git version:
How to solve it?
The text was updated successfully, but these errors were encountered: