ldc2 -static fails: error: cannot find -lphobos2-ldc or -ldruntime-ldc

kinke noone at nowhere.com
Thu Aug 13 07:17:46 UTC 2020


On Wednesday, 12 August 2020 at 11:34:34 UTC, Jonathan wrote:
> Any ideas on what needs to happen to solve this issue?

Seems like the Gentoo package contains shared druntime/Phobos 
libs only, no static libs. That's probably what most distros do; 
some like Alpine have an extra package for the static libs IIRC. 
The distro packages are community-maintained.

The simplest solution is probably to use an official package from 
GitHub.


More information about the digitalmars-d-ldc mailing list