Linker cannot find malloc and free on OS X

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 4 03:45:23 PDT 2017


My gmp-d tests successfully on Linux as

dub test

but on OS X it fails as

Undefined symbols for architecture x86_64:
   "free", referenced from:
   ...
   "malloc", referenced from:
   ...

Any ideas on why?

https://github.com/nordlow/gmp-d/issues/4#issuecomment-305974761


More information about the Digitalmars-d-learn mailing list