Linker error while building phobos on linux on a fresh system

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 15:46:36 PDT 2014


On 8/25/14, 3:37 PM, Andrei Alexandrescu wrote:
> Wonder what I'm doing wrong. I ran "git pull --ff-only origin master" in
> dmd, druntime, and phobos. Built dmd -> fine. Built druntime -> fine.
> Ran "make -f posix.mak" for phobos, got:
>
> /usr/bin/ld: cannot find -lphobos2

Argh, I had an old ~/dmd.conf. I've mentioned this before: our build 
process should override all user options and only use its own artifacts. 
I sent a diff a while ago adding an empty dmd.conf to phobos/, but there 
was backlash about it that I find unjustified.

Andrei


More information about the Digitalmars-d mailing list