我升級到OSX 10.11,我不能用捲曲了正確OSX 10.11埃爾卡皮坦不能使用捲曲了
嘗試使用設置自制的全新安裝:在自制網站作爲陳述
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
我得到的錯誤:
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
捲曲的系統版本是/ usr/bin中
$捲曲--version 捲曲7.43.0(x86_64的 - 蘋果darwin15.0)的libcurl/7.43.0 SecureTransport的zlib/1.2.5 協議:字典文件FTP FTPS的Gopher HTTP HTTPS IMAP IMAPS LDAP的LDAP POP3 POP3S RTSP SMB中小企業SMTP SMTPS的telnet TFTP 特點:AsynchDNS的IPv6 Largefile GSS-API的Kerberos SPNEGO NTLM NTLM_WB SSL libz進行UnixSockets
這個錯誤是指: CURLE_NOT_BUILT_IN(4)
由於構建時間的決定,未在此libcurl中找到內置的請求的功能,協議或選項。這意味着在構建libcurl時沒有啓用或顯式禁用某個功能或選項,並且爲了使其功能得到重建的lib捲曲。
,但我怎麼能解決這個問題,如果我不知道重建其決定:......
我試圖下載,構建並安裝最新版本的捲曲(捲曲7.45.0.tar.gz )..標準配置/製造/安裝(OSX 10.11 Xcode 7.0 CLI安裝...)但命令curl不使用這個二進制文件,它始終使用系統捲曲...
====我不「不懂如何捲曲LIB安裝... 如此凌亂
/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
===更新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)
===更新2以下是當前協議&選項配置 其中之一是缺少運行正常嫋嫋......
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
由於您似乎已經自己安裝了一些捲曲庫,您可能首先需要找出實際使用的庫捲曲:'otool -L/usr/bin/curl' 。 – Evert
你能保證紅寶石線實際上使用系統捲曲嗎?也許用'/ usr/bin/curl'替換'curl'是可以肯定的。 – Evert
我已經嘗試/ usr/bin/curl ...同樣的問題) @Evert更新問題與工具-L輸出沒有(噸給我更多的信息? – erwin