/ usr / bin / ld:找不到-lXmu [英] /usr/bin/ld: cannot find -lXmu

查看:253
本文介绍了/ usr / bin / ld:找不到-lXmu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装netgen并尝试编译源代码。
在此期间,我收到错误消息:

I want to install netgen and try to compile the source code. During this I got the error message:

U -L/usr/lib/x86_64-linux-gnu -ltk8.6 -ltcl8.6 -lGL -lXmu -lX11 -fopenmp -Wl,-rpath -Wl,/opt/netgen/lib
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
make[2]: *** [netgen] Error 1

也许我必须安装其他软件包?
有人有主意吗?

Maybe I have to install an additional package? Does anyone have an idea?

推荐答案

您可以根据自己的特定操作系统检查是否不丢失缺少未版本化的命名文件(即 libXmu.so )。

You can check, depending on your specific OS, if you are not missing the missing the non-versioned named (i.e. libXmu.so).

检查 ls / usr / lib / libXmu *。* ,如果找不到,请键入:

Check for ls /usr/lib/libXmu*.*, and if not found, type:

ln -s /usr/lib/libXmu.so libXmu.so.6
ln -s /usr/lib/libXuu.so libXmuu.so.1

如果您没有任何 libXmu *。* 文件,则需要先安装 libxmu-dev

If you don't have any libXmu*.* files, then you need to install first libxmu-dev:

sudo apt-get install libxmu-dev

这篇关于/ usr / bin / ld:找不到-lXmu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆