On 09/10/2019 11:33 PM, David Briant wrote:
I've accidentally upgraded to Catalina - a little earlier than planned as I had hoped not to be trail blazing!

My problem is this, in a bash shell and a new directory when I run

$ dub init
... answering the questions that dub asks
$ dub

dmd compiles the skeleton project but ld fails (full dump below).

I've tried uninstalling dub, dmd (via homebrew) and reinstalling (had to use the latest beta) and upgrading xcode and also upgrading to Catalina.

I'm a d newbie and this is my first escapade into compiling on the mac.

Has anyone an idea how to fix this?

D as a native language links against libc, so using the system c compiler as the linker is a viable method to prevent having to look things up.

Perhaps try ldc? That uses LLVM so may be better on OSX.

Related: https://issues.dlang.org/show_bug.cgi?id=20019

Also those versions on homebrew look to be at least one version out of date.

If ldc on homebrew doesn't work, you should try the versions on the main site (which has dmg's) https://dlang.org/download.html

Reply via email to