I had ldc2 and gdc compiled from source code and working up to a month ago. Nothing has changed, except that I canβt remember the variables that I would set in the terminal to work ldc2 and gdc.
When trying to compile the D source code, the following errors occur:
GDC:
$ / Home / Code / D / GDC / Bin / USR / local / bin / GDC -o t4 t4.d / home / Code / D / gdc / Bin / usr / local / bin /../ libexec / gcc / x86_64 -unknown-linux-gnu / 4.4.5 / cc1d: error loading shared libraries: libmpfr.so.1: cannot open shared object file: There is no such file or directory
ldc2:
$ / home / Code / D / ldc2 / bin / ldc2 -o t4 t4.d / home / Code / D / ldc2 / bin / ldc2: error loading shared libraries: libconfig ++. so.8: cannot open shared object file: No such file or directory
I canβt remember if it was just an addition to PATH or something in DFLAGS. Any ideas?
EDIT: Recompiling both LDC2 and GDC solved the problem, but I still don't know why I am getting errors.
source share