OSX 10.11 El capitan cannot use curl anymore -
i upgraded osx 10.11 , cannot use curl anymore correctly
trying set fresh installation of homebrew using :
ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/install/master/install)"
as stated on homebrew site ( http://brew.sh )
i error :
curl: (4) requested feature, protocol or option not found built-in in libcurl due build-time decision.
the system version of curl @ /usr/bin
$ curl --version curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 securetransport zlib/1.2.5 protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp features: asynchdns ipv6 largefile gss-api kerberos spnego ntlm ntlm_wb ssl libz unixsockets
this errors means : curle_not_built_in (4)
a requested feature, protocol or option not found built-in in libcurl due build-time decision. means feature or option not enabled or explicitly disabled when libcurl built , in order function have rebuilt lib curl.
but how can solve if don't know decision rebuild :...
i tried download , build , install latest curl version (curl-7.45.0.tar.gz ) .. standard configure/make/install ( osx 10.11 xcode 7.0 cli installed ...) command curl doesn't use binary , use system curl...
==== don't understand how lib curl installed ... messy
/applications/xcode.app/contents/developer/platforms/macosx.platform/develo per/sdks/macosx10.11.sdk/usr/lib/libcurl.3.tbd /applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.11.sdk/usr/lib/libcurl.4.tbd /applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.11.sdk/usr/lib/libcurl.tbd /usr/lib/libcurl.3.dylib /usr/lib/libcurl.4.dylib /usr/lib/libcurl.dylib /usr/local/library/env/pkgconfig/10.10/libcurl.pc /usr/local/library/env/pkgconfig/10.11/libcurl.pc /usr/local/library/env/pkgconfig/10.5/libcurl.pc /usr/local/library/env/pkgconfig/10.8/libcurl.pc /usr/local/library/env/pkgconfig/10.9/libcurl.pc /usr/local/macgpg2/lib/libcurl.4.dylib /usr/local/macgpg2/lib/libcurl.a /usr/local/macgpg2/lib/libcurl.dylib
===update 1
~ $ otool -l /usr/bin/curl/usr/bin/curl: /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libsystem.b.dylib (compatibility version 1.0.0, current version 1225.1.1)
=== update 2 here current protocols & options configured 1 missing run correctly curl ...
curl version: 7.45.0 host setup: x86_64-apple-darwin15.0.0 install prefix: /usr/local compiler: gcc ssl support: no (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} ) ssh support: no (--with-libssh2) zlib support: enabled gss-api support: no (--with-gssapi) tls-srp support: no (--enable-tls-srp) resolver: default (--enable-ares / --enable-threaded-resolver) ipv6 support: enabled unix sockets support: enabled idn support: no (--with-{libidn,winidn}) build libcurl: shared=no, static=yes built-in manual: enabled --libcurl option: enabled (--disable-libcurl-option) verbose errors: enabled (--disable-verbose) sspi support: no (--enable-sspi) ca cert bundle: no ca cert path: no ldap support: enabled (openldap) ldaps support: enabled rtsp support: enabled rtmp support: no (--with-librtmp) metalink support: no (--with-libmetalink) http2 support: disabled (--with-nghttp2) protocols: dict file ftp gopher http imap ldap ldaps pop3 rtsp smtp telnet tftp
i did fresh installation of homebrew using -k option curl
cflags="-arch i386" ./configure --prefix=/usr/local/curl-7.45.0 --with-ssl=/usr/local/openssl-1.0.2d , ruby -e "$(curl -k raw.githubusercontent.com/homebrew/install/master/install)";
then easy install brand new curl ready el capitan (w openssl ad dependency...) , way rbenv, ruby , rails ...
Comments
Post a Comment