【问题标题】:Errors in Vapor setup on Ubuntu 14.04 (Windows)Ubuntu 14.04 (Windows) 上的 Vapor 设置错误
【发布时间】:2016-12-07 14:07:14
【问题描述】:

https://vapor.github.io/documentation/getting-started/install-toolbox.html 的以下步骤会导致此错误:

$ curl -sL toolbox.vapor.sh | bash

/swift-3.0/usr/bin/swift-build: 加载共享库时出错: libFoundation.so: cannot enable executable stack as shared object requires: Invalid argument

有什么想法吗?

【问题讨论】:

  • 这是在 Windows 上的 Ubuntu 中吗?
  • @tobygriffin 是的。

标签: swift bash ubuntu windows-subsystem-for-linux vapor


【解决方案1】:

我没有 Windows 上的 Ubuntu 可供检查,但这是 known issue

GitHub 上的This commenter 似乎找到了解决方案。

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

【讨论】:

  • 需要sudo execstack...
猜你喜欢
  • 2017-11-24
  • 2016-06-07
  • 1970-01-01
  • 2017-01-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-04-29
  • 1970-01-01
相关资源
最近更新 更多