linux - dmd 错误 : error while loading shared libraries in Ubuntu Linux 12. 04.4 LTS

标签 linux ubuntu d dmd

我在 Ubuntu Server 12.04.4 LTS x64 上新安装了 dmd。当我尝试编译一个简单的“Hello, world!”时程序,我收到以下错误:

dmd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

好吧...我就这么说吧...我不知道那是什么意思,那么它是什么以及我该如何解决它?

最佳答案

这应该能够修复它:

sudo apt-get install build-essential

关于linux - dmd 错误 : error while loading shared libraries in Ubuntu Linux 12. 04.4 LTS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22086285/

相关文章:

c - linux内核中的中断

linux - 为什么在删除关联的 *.py 文件时删除 *.pyc 文件

garbage-collection - 看来我的数组没有被垃圾收集

type-conversion - 将切片转换为 native (字节序)整数

c++ - 使用 SWIG 包装 Octave 的 C++ API

c - epoll中文件描述符的返回顺序是什么?

android - P线程和k线程

android - Ubuntu - 如何将整个 Android 项目提交到本地存储库?

linux - 脚本不在 cron 下运行,而是再次手动运行

python - 如何以编程方式更改 Ubuntu 中的音量