我正在使用Ubuntu12.04LTS,当我试图执行premake5工具(http://premake.github.io/download.html)时,我得到了以下错误,我还没有找到解决方法。。

premake5: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found (required by premake5)

我在网上读到一些东西,是这个版本的Ubuntu引起的。有什么想法吗?

最佳答案

premake5的二进制版本适用于更现代的操作系统。旧的Ubuntu 12.04有(g)libc→libc6版本2.15,不能使用。
premake5也可用作源代码,premake-4.4-beta5-src.ziphttp://sourceforge.net/projects/premake/files/Premake/4.4/premake-4.4-beta5-src.zip/download。。。或https://github.com/premake/premake-core。。。
如果可以用Ubuntu12.04来构建它,你可以试试。
确认:premake5使用Ubuntu 12.04.5构建正常

git clone https://github.com/premake/premake-core.git
cd premake-core/
git submodule init
git submodule update
make -f Bootstrap.mak linux

提供premake-core/bin/release/premake5

关于linux - [/lib/x86_64-linux-gnu/libc.so.6-未找到glibc],我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38632261/

10-11 23:04