Reputation: 5393
I've built curl and copied the binary and /.libs over to /usr/bin. The command now gives:
curl 7.21.7 (x86_64-apple-darwin10.8.0) libcurl/7.21.7 OpenSSL/0.9.8k zlib/1.2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM SSL libz
Yet curl_version() gives:
libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
How do I update libcurl as well on OSX 10.6.8?
Thank you.
I also have these files under /usr/bin:
/usr/lib/libcurl.2.dylib
/usr/lib/libcurl.3.dylib
/usr/lib/libcurl.4.dylib
/usr/lib/libcurl.dylib
Do I have to compile another one of these? I don't know how, with what, where. I also have these:
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.2.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.3.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.4.0.0.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.4.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libcurl.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.2.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.3.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.4.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libcurl.dylib
Upvotes: 1
Views: 3194
Reputation: 5393
To do it I used the commands I finally found in an installation manual on the internet:
./configure make sudo make install
THen I moved the dylib to the dylib location linked to by my program. Shame the dylib compiled is in i386 and not x86-64 but it works.
Upvotes: 1