On Thursday, 23 May 2019 at 17:39:32 UTC, Iain Buclaw wrote:
And what happens when you compile with -static-libphobos?This confirms whether you are indeed linking against the wrong library or not.
gdc main.d -static -libphobos -o main /usr/bin/ld: cannot find -libphobos collect2: error: ld returned 1 exit status