Closed quitcaz closed 5 years ago
Can you please provide the config.log file that was generated?
And can you let me know what you get on the command line if you run ar
?
if I run ar (for example ar -r arch_test file1.txt file2.txt) : it says: 'creating archive arch_test'
The log file complains with the following:
configure:4666: ar cru libconftest.a conftest.o >&5
/opt/local/bin/ranlib: object: libconftest.a(conftest.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
I am not sure what is going on (I am also building CODA on macOS 10.14.6 and without problems).
I assume you are using MacPorts (due to the /opt/local paths)? But this is something I am also using myself, so that is probably not the problem.
Could you maybe check that the ranlib tool on your system works correctly?
For me this is in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib
, but yours is likely at /Library/Developer/CommandLineTools/usr/bin/ranlib
.
Is your MacPorts and Xcode up-to-date?
(what I forget to add, is to check your system ranlib, by removing/disabling the ranlib from /opt/local/bin)
OK thanks I tried to run macport and it said there was a platform mismatch so I'll start with that...
Closing issue as there was no further feedback.
Installation process with ./configure breaks down with error : "checking the archiver (ar) interface... unknown configure: error: could not determine ar interface"