Cannot find -lphobos
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun May 10 07:41:17 PDT 2015
On 05/10/2015 12:45 AM, Marko Grdinic wrote:
> I works just fine on Windows, but I am having difficulty figuring out
> what the trouble is on my Bodhi 1.4 Virtual Box. I've followed the
> instruction on the Codeblocks Wiki and set the parameters, but when I
> try to compile, it complains that it can't find Phobos.
>
> /usr/bin/ld: cannot find -lphobos2
>
> I've checked the search directories and the library directories are
> where it says they would be. I am not particularly familiar with Linux
> so I am not sure how to proceed from here.
>
> Any advice?
dmd's -v flag may give some clues:
$ dmd foo.d -v
dmd outputs the config file that it uses and the linker flags that it
passes.
Ali
More information about the Digitalmars-d-learn
mailing list