我想安装蒸气(https://github.com/vapor/vapor)工具箱在运行Ubuntu 15.10 x64的服务器上。在Ubuntu 15.10 0123快捷构建错误
我从“迅速构建”命令
/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
这是一个卷曲的问题得到这个错误?我该如何解决这个错误?
详情:
我下面在这里描述的步骤:3.0已经安装 https://vapor.github.io/documentation/getting-started/install-toolbox.html
斯威夫特:
[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 È发生在这条线中的脚本: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