How to install dmd2 in centos 5.3 x64
Jordi Sayol
g.sayol at yahoo.es
Tue Dec 3 03:16:55 PST 2013
El 03/12/13 11:43, Puming ha escrit:
> 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.
>
$ rdmd -L-L/usr/lib64 a.d
You can permanently add this to dmd command-line by creating "dmd.conf" file: <http://dlang.org/dmd-linux.html#dmd_conf>
> 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.
On Debian based systems, like Ubuntu, you can use "d-apt" repository: <http://d-apt.sourceforge.net/>
>
> Thanks.
>
> Puming.
>
--
Jordi Sayol
More information about the Digitalmars-d-learn
mailing list