Failed 'dub run' with 'Failed to invoke the compiler dmd'
Timoses via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Oct 30 22:33:07 PDT 2015
On Saturday, 31 October 2015 at 04:00:18 UTC, Timoses wrote:
> Linking...
> ld: library not found for -levent
> clang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> --- errorlevel 1
> dmd failed with exit code 1.
Seems to be fixed by editing dmd.conf (added -L-L/usr/local/lib)
[Environment]
DFLAGS=-I/Library/D/dmd/src/phobos
-I/Library/D/dmd/src/druntime/import -L-L/Library/D/dmd/lib
-L-L/usr/local/lib
Have a question though:
Why is it -L-L/usr/local/lib
and not -L/usr/local/lib ?
More information about the Digitalmars-d-learn
mailing list