Why Mac, Why again?
Command Line Tools is such a nightmare. I am using a macOS Monterey v 12.0.1
I am trying to install a PERL package by:
cpanm DBI
The output is:
clang-10: warning: argument unused during compilation: '--sysroot /opt/MacOSX10.9.sdk' [-Wunused-command-line-argument] ld: warning: -pie being ignored. It is only used when linking a main executable ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [blib/arch/auto/DBI/DBI.bundle] Error 1 -> FAIL Installing DBI failed. See /Users/tito_miniconda/.cpanm/work/1643647544.76158/build.log for details. Retry with --force to force install it.
I am running out of ideas on how to handle this. Please any help is greatly appreciated.