私は、Ubuntu 15.10 x64を実行しているサーバにvapor(https://github.com/vapor/vapor)ツールボックスをインストールしようとしています。ubuntuの迅速なビルドエラー15.10
私は
/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
「迅速なビルド」コマンドからこのエラーを取得していますが、これはカールの問題ですか?このエラーを解決するにはどうすればよいですか?
詳細:
私がここで説明する手順に従っています: https://vapor.github.io/documentation/getting-started/install-toolbox.html
スウィフト3.0がインストールされています:
[email protected]:~$ swift --version
Swift version 3.0 (swift-3.0-RELEASE)
Target: x86_64-unknown-linux-gnu
ツールボックスをインストールするには:
[email protected]:~$ curl -sL toolbox.vapor.sh | bash
✅ Compatible
Downloading...
Compiling...
/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
Installing...
bash: line 22: .build/release/Executable: No such file or directory
Use vapor --help and vapor <command> --help to learn more.
エラーabov eは、スクリプトにこの行で行わ:swift build -c release > /dev/null;
swift build --help
は、この同じエラーを与える:
[email protected]:~$ swift build --help
/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
蒸気が存在しません:
[email protected]:~$ vapor --help
vapor: command not found
またカール情報:
[email protected]:~$ sudo -i curl --version
curl 7.43.0 (x86_64-pc-linux-gnu) libcurl/7.43.0 GnuTLS/3.3.15 zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
カールはsudo apt-get install curl
でインストールされ、エラーは報告されませんでしたrs。
[email protected]:/usr/lib$ find . | grep curl
は約15件の一致を報告しますが、正確にはlibcurl.so.4はありません。閉じマッチは以下のとおりです。
./x86_64-linux-gnu/libcurl-gnutls.so.4
./x86_64-linux-gnu/libcurl-gnutls.so.4.3.0
./x86_64-linux-gnu/libcurl-gnutls.so.3
だけでなく私のために働きました。たぶん正しい答えとしてマークする必要がありますか? :-) – Darwind