Dr. Adam Ruppe and Jacob Carlborg, Thank you very much for your help! An error now is as follows: # dmd2 -run qqq.d /usr/bin/ld: cannot find -lphobos2 --- errorlevel 1 # cat /usr/local/etc/dmd2.conf [Environment] DFLAGS=-I/usr/local/include/d/phobos2 -I/usr/local/include/d/druntime/import -L-L/usr/local/lib32 -L-L%@P%/../lib64 -L--export-dynamic -L-lrt