/usr/bin/ld: cannot find -lXext 依赖问题

4
我正在安装ghostscript到我的Ubuntu 14.04服务器上。由于依赖关系,make命令出错:
/usr/bin/ld: 找不到-lXext collect2: error: ld returned 1 exit status make: *** [bin/gs] Error 1
但是我已经有了库:
locate libXext.so
/usr/lib/x86_64-linux-gnu/libXext.so.6
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
这些是否足够?还是我需要更多的库?
2个回答

7

运行:apt-get install libxext-dev
这对我有用。

我尝试安装Ghostscript 9.18源代码版本。


2

您需要安装libxext-dev软件包。

运行:apt-get install libxext-dev


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接