ld: symbol(s) not found for architecture i386
1. You didn't say, but are you using Catalina on your notebook?
- If so, you cannot compile 32 bit programs anymore as the relevant frameworks were mostly removed.
2. I suspect that if you go to Lazarus > Tools > Options, your compiler is set to ppc386 (32 bit)
- If so, you should change it to ppcx64 (64 bit)
3. It is also possible that you were trying to compile the Cocoa widgetset for i386 which is not possible because Cocoa is 64 bit only.
- If your system is still capable of producing 32 bit binaries, and you really want to create 32 bit binaries, then choose the Carbon (32 bit) widgetset instead.
If none of the above helps, you are going to have to help us to help you by supplying full details of your macOS version, FPC version, Lazarus version, and Lazarus settings (Lazarus > Tools > Options; Lazarus > Project > Project options, especially Compiler options > Config and Target).