How to install dmd2 in centos 5.3 x64

Puming zhaopuming at gmail.com
Tue Dec 3 02:43:04 PST 2013


Hi:

I followed the steps in http://dlang.org/dmd-linux.html, but when 
I build a simple hello world program with:

rdmd hello.d

I get the following error:

rdmd hello.d
/usr/bin/ld: cannot find -l:libphobos2.a

I have copied dmd2/linux/lib64/libphobos2.a to /usr/lib64, but ld 
still can't find it.

Now I really wish all our servers are using ubuntu server..

Could anybody shed some light on where the problem is? I don't 
have much experience in linux except using apt-get in ubuntu.

Thanks.

Puming.


More information about the Digitalmars-d-learn mailing list