Skip to content
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

Closed
hongyi-zhao opened this issue Oct 1, 2019 · 8 comments
Closed
Labels
build not-a-curl-bug This is not a bug in curl

Comments

@hongyi-zhao
Copy link

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
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
WARNING: curl and libcurl versions do not match. Functionality may be affected.
curl: symbol lookup error: curl: undefined symbol: curl_mime_free

$ curl www.baidu.com
curl: (48) An unknown option was passed in to libcurl
curl: symbol lookup error: curl: undefined symbol: curl_mime_free

How to solve it?

@dfandrich
Copy link
Contributor

dfandrich commented Oct 1, 2019 via email

@hongyi-zhao
Copy link
Author

I don't have experience on using this option for curl compile. Could you please give the corresponding commands?

@dfandrich
Copy link
Contributor

dfandrich commented Oct 1, 2019 via email

@hongyi-zhao
Copy link
Author

Still not so clear.

I only using the make to make curl, and don't know how to make libcurl.

@hongyi-zhao
Copy link
Author

Got it, the make will also make libcurl and put it in the following location:
LD_LIBRARY_PATH=/usr/local/lib curl www.baidu.com

Regards

@bagder bagder added build not-a-curl-bug This is not a bug in curl labels Oct 1, 2019
@bagder bagder closed this as completed Oct 1, 2019
@mfernea
Copy link

mfernea commented Dec 18, 2019

@winkee01
Copy link

This might help.
libcurl_problem

@Joeycho
Copy link

Joeycho commented May 1, 2020

@winkee01

Yes, your screenshot saved me! :)

@curl curl locked as resolved and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build not-a-curl-bug This is not a bug in curl
Development

No branches or pull requests

6 participants