Trying to compile Bitcoin on a new machine and followed the usual steps at https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md. ./autogen.sh and ./configure works fine. However, when attempting make, I get 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
I am attaching the config.log file.
Kindly help. config.log