dmd error: error while loading shared libraries in Ubuntu Linux 12.04.4 LTS

I have a new installation of dmd on Ubuntu Server 12.04.4 LTS x64. When I try to compile a simple "Hello, world!" program, I get the following error:

dmd: error while loading shared libraries: cannot open shared object file: No such file or directory

Well... I'll just say it... I have no idea what that means, so what is it and how do I fix it?


This should be able to fix it:

sudo apt-get install build-essential

Need Your Help

MSVC: pragma to force rebuild of a file?

visual-studio visual-c++ pragma rebuild

Is there a pragma-statement for MSVC that causes the compiler to rebuild a file always - also in case it thinks it was just builded?