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
