Linker cannot find malloc and free on OS X
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 5 03:34:12 PDT 2017
On 2017-06-05 01:14, bvoq wrote:
> The flag -L-lc seems to have been passed to the library.
> This is the full error message after running it with dub test --verbose
You need to continue to invoke the sub commands, that is, DMD, Clang and
the linker with the verbose flag (-v) added. There's no point in looking
for "-lc" since the C standard library on macOS is placed in
/usr/lib/libSystem.B.dylib.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list