遵循 https://vapor.github.io/documentation/getting-started/install-toolbox.html 中的步骤导致此错误:
$ curl -sL toolbox.vapor.sh |庆典
/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libFoundation.so: cannot enable executable stack as shared object requires: Invalid argument
有什么想法吗?
最佳答案
我没有 Windows 上的 Ubuntu 可以检查,但这是一个 known issue .
This commenter在 GitHub 上似乎找到了解决方案。
apt-get install execstack
execstack -c {swift_path}/usr/lib/swift/linux/libFoundation.so
关于swift - Ubuntu 14.04 (Windows) 上的 Vapor 设置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41019524/