-
Hi I just built curl myself as the version on debians repo was out of date
heres how I built it
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
try ldd `which curl` to see where it is loading libcurl from. you may need to add a runpath so that the library is read from the correct location. for example if the install prefix is /usr/local then curl is in /usr/local/bin and libcurl is in /usr/local/lib
|
Beta Was this translation helpful? Give feedback.
-
I do see
curl is in Sorry, what do I do with the LDFLAGS? How do I use that? Does compiling curl compile libcurl too? Should I delete one set of the libcurls and recompile curl? |
Beta Was this translation helpful? Give feedback.
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.
Just as I showed you. Specify it as an environment variable by putting it before the configure command. For example:
yes