gpt4 book ai didi

swift - Ubuntu 14.04 (Windows) 上的 Vapor 设置错误

转载 作者:搜寻专家 更新时间:2023-11-01 07:17:51 26 4
gpt4 key购买 nike

遵循 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com