Bitcoin core make error

0

I am new to bitcoin core development. I have created a clone using bitcoin core on a mac os mojave 10.14.3. I am have installed all dependencies and am able to run the autogen.sh and configure with no errors. However, when I run make I am getting the following error.

/opt/local/bin/ranlib: object: libbitcoin_server.a(libbitcoin_server_a-addrdb.o) malformed object (unknown load command 1)
/opt/local/bin/ar: internal ranlib command failed
make[2]: *** [libbitcoin_server.a] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Kindly help.

DetectivePikachu

Posted 2019-03-04T11:45:08.587

Reputation: 1

Answers

0

macOS Mojave changes how the header is serialized in the beginning of the executables. Maybe you could tell us how you installed the dependencies (using brew?) and the version of the compiler?

MCCCS

Posted 2019-03-04T11:45:08.587

Reputation: 5 827

-1

Actually, both brew and macports were present in my system. I uninstalled macports and after that make successfully went through, although several warning were generated.

Thank you for your help!

DetectivePikachu

Posted 2019-03-04T11:45:08.587

Reputation: 1