After having been Mac-absent for a couple of months now, I tried to do a quick installation of the latest Lazarus 2.2.0 on macOS Big Sur. Failed. the Lazarus and FPC packages installed fine, but when trying to compile anything, including the IDE, the process fails, and this is the log (e.g. when trying to rebuild Lazarus (normal IDE))
Build IDE: Exit code 2, Errors: 3
Error: ld: framework not found Cocoa
An error occurred while linking
Error: Error while linking
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
Error: make: *** [idepkg] Error 2
Bah. Yes, the Xcode-Tools are installed. Proof:
xcode-select --install says:
xcode-select: error: command line tools are already installed, use "Software Update" to install update
and xcode-select -v says:
xcode-select version 2384
and xcode-select -p says
/Library/Developer/CommandLineTools
and ls -R /Library/Developer/CommandLineTools lists tons of files.
Mac pros ... any ideas?
Armin.
P.S. More Info:
I switched the program (which btw is the auto-generated empty unit Unit1; program) to qt, qt5, gtk2 ... all fail as well.
Compile Project, Target: /Users/linder-mac11/tmp/project1: Exit code 1, Errors: 2
Error: ld: library not found for -lc
An error occurred while linking
Error: Error while linking