Skip to content

WARNING: curl and libcurl versions do not match. Functionality may be affected. #13545

Answered by jay
p1r473 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you still have a packaged libcurl installed and that is probably needed by your distro. I wouldn't try to remove that libcurl. Instead, I would do what I suggested earlier and rebuild curl to use the runpath that loads the correct version of the library.

Sorry, what do I do with the LDFLAGS? How do I use that?

Just as I showed you. Specify it as an environment variable by putting it before the configure command. For example:

LDFLAGS="-Wl,--enable-new-dtags -Wl,-rpath,/usr/local/lib" ./configure --with-openssl --prefix=/usr/local

Does compiling curl compile libcurl too?

yes

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jay
Comment options

Answer selected by p1r473
@p1r473
Comment options

@jay
Comment options

@p1r473
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants