How to install dmd2 in centos 5.3 x64

Dejan Lekic dejan.lekic at gmail.com
Tue Dec 3 09:47:46 PST 2013


On Tuesday, 3 December 2013 at 10:43:06 UTC, Puming wrote:
> 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.

What architecture that CentOS box is, and give us your 
/etc/dmd.conf please.


More information about the Digitalmars-d-learn mailing list