On 2019-09-03 03:45, Jonathan Levi wrote:

It looks like what needs to be found are "libphobos2" and "libdruntime".  They can be found where ever your system puts lib files.  Windows (as far as I know) does not have a joined place for lib files so you need to look where dmd/ldc/etc installed itself.  On Linux lib files are generally put in `/usr/lib`. Ideally the hunting for lib files should be left to a build tool in order to be system agnostic.  In Cabal (Haskell's build tool) add "druntime" and "phobos2" to `extra-libraries`.

This depends on how the compiler is installed. There are several installers that do not put the libraries in `/usr/lib`. BTW, that directory doesn't exist by default anymore on macOS, even if Xcode and the command line tools are installed.

--
/Jacob Carlborg

Reply via email to