So I am installing Darling (GitHub - darlinghq/darling: Darwin/macOS emulation layer for Linux) in order to reverse some MACH-0 binaries, but I keep running into the following error:
[ 95%] Linking CXX shared library JavaScriptCore
ld: warning: OS dylibs should not add rpaths (linker option: -rpath) (Xcode build setting: LD_RUNPATH_SEARCH_PATHS)
ld: file too small (length=0) file 'CMakeFiles/JavaScriptCore.dir/dfg/DFGTypeCheckHoistingPhase.cpp.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/external/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:14330: src/external/JavaScriptCore/JavaScriptCore] Error 1
make[2]: Leaving directory '/opt/darling/build'
make[1]: *** [CMakeFiles/Makefile2:49870: src/external/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/all] Error 2
make[1]: Leaving directory '/opt/darling/build'
make: *** [Makefile:130: all] Error 2
I am following the build instructions here:
https://docs.darlinghq.org/build-instructions.html
And the error is thrown when running make. Considering just getting to 95% took about 12 hours I would really appreciate it if somebody knew how to fix this, google turned up no answers. Thanks in advance.