Bitcoin core make error

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 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.