On Tue, 12 Nov 2013 09:56:34 GMT, Sönke Ludwig wrote:

This seems to be caused by DUB inserting the .a files on the compiler command line instead of the linker command line. I've committed a fix to git master.

Thanks for getting this fixed so quickly! I'm now getting a different build error:

dub -v
Using dub registry url 'http://code.dlang.org/'
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /Users/jared/.dub/packages/local-packages.json
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /Users/jared/.dub/packages/local-packages.json
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /Users/jared/.dub/packages/local-packages.json
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /Users/jared/.dub/packages/local-packages.json
Note: Failed to determine version of package dgame at /Users/jared/Code/DGame. Assuming ~master.
Collecting dependencies for dgame
Checking dependencies in '/Users/jared/Code/DGame'
Generating using build
Target is up to date. Skipping build.
Running dgame 
Error: Executable file not found: 

Full exception: std.process.ProcessException@std/process.d(389): Executable file not found: 
----------------
5   dub                                 0x0000000100e15ef1 @trusted std.process.Pid std.process.spawnProcess(const(char[][]), std.stdio.File, std.stdio.File, std.stdio.File, const(immutable(char)[][immutable(char)[]]), std.process.Config) + 181
6   dub                                 0x0000000100d2c4f1 void dub.generators.build.BuildGenerator.runTarget(dub.internal.vibecompat.inet.path.Path, dub.compilers.compiler.BuildSettings, immutable(char)[][]) + 941
7   dub                                 0x0000000100d29cc4 void dub.generators.build.BuildGenerator.generateProject(dub.generators.generator.GeneratorSettings) + 1288
8   dub                                 0x0000000100cfffbc void dub.dub.Dub.generateProject(immutable(char)[], dub.generators.generator.GeneratorSettings) + 160
9   dub                                 0x0000000100cf4165 _Dmain + 6965
10  dub                                 0x0000000100de4bc1 extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runMain() + 33
11  dub                                 0x0000000100de470d extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate()) + 45
12  dub                                 0x0000000100de4c0d extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runAll() + 61
13  dub                                 0x0000000100de470d extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate()) + 45
14  dub                                 0x0000000100de46c1 _d_run_main + 457
15  dub                                 0x0000000100de44f0 main + 20
16  libdyld.dylib                       0x00007fff92d135fd start + 1
17  ???                                 0x0000000000000002 0x0 + 2
Run 'dub help' for usage information.