简体   繁体   English

Ubuntu 14.04(Windows)上的蒸气设置错误

[英]Errors in Vapor setup on Ubuntu 14.04 (Windows)

Following steps from https://vapor.github.io/documentation/getting-started/install-toolbox.html are leaded to this error: https://vapor.github.io/documentation/getting-started/install-toolbox.html中的以下步骤导致此错误:

$ curl -sL toolbox.vapor.sh | bash

/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libFoundation.so: cannot enable executable stack as shared object requires: Invalid argument /swift-3.0/usr/bin/swift-build:加载共享库时出错:libFoundation.so:由于共享库要求而无法启用可执行堆栈:无效参数

Any ideas? 有任何想法吗?

I don't have Ubuntu on Windows to check with, but this is a known issue . 我没有Windows上的Ubuntu可以检查,但这是一个已知问题

This commenter on GitHub appears to have found a solution. 这位在GitHub上的评论者似乎找到了解决方案。

apt-get install execstack
execstack -c {swift_path}/usr/lib/swift/linux/libFoundation.so

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM