0
I downloaded the source file from https://curl.haxx.se/download/ (curl-7.59.0.tar.bz2) to build the curl command line tool, or so I thought. I followed the instructions on curl's site (./configure, make, make install
) without difficulty.
The document (https://curl.haxx.se/docs/install.html) says that the source should provide both curl and libcurl. I can only see libcurl when I open the directory, which is what I don't understand. Here is the output when I look inside the usr/local/lib directory, where libcurl was installed:
my-macbook:lib Kumitan$ ls
libcurl.4.dylib libcurl.a libcurl.dylib libcurl.la pkgconfig
All of these are libcurl. I get the feeling that I must have missed out a step or I'm not understanding something here.
I understand that curl (the application) is made using libcurl (the library), so why am I not seeing a separate curl tool in this directory? Why can I only see libcurl files if this is meant to install curl as well? Surely the curl tool would also be built along with libcurl? Or are they the same thing?
Background information: My computer is running Mac OSX 10.6.8. I'm trying to update/upgrade the current version of curl on the computer (7.19) by installing a newer version so that I can use curl to install homebrew. I can't upgrade to Mountain Lion (OSX 10.7).
NB: I can't just install curl using homebrew, because my curl version is too old to actually run the script to install homebrew itself.
build and install curl from source – DavidPostill – 2018-09-22T20:00:52.633
@DavidPostill I should have said I read that in the question. Edited. – None – 2018-09-22T21:37:55.323
I'd expect the default install directory for curl to be /usr/local/bin. Prior to make install curl would be found in src. (Your question isn't clear). – user187561 – 2018-09-22T22:49:06.887