MacOS Sierra: Installing packages fails with linker error lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- JdeHaan · 2016-12-25 17:58 Hi, I tried to install a package (Laz 1.6.2 / FPC 3.0 / MacOs Sierra) but get the following errors while rebuilding Lazarus: Build IDE: Exit code 512, Errors: 3 Error: linker: Undefined symbols for architecture i386: Error: linker:   "_FINALIZE$_$TOKENS", referenced from: lazarus.pp(156,0) Error: Error while linking Thought it had to do with Xcode/command line tools, but they are installed. Other programs I write run without problems... Also tried rebuilding without installing packages and got the same errors. Someone any ideas? ---------------------------------------------------------------------- VTwin · 2016-12-29 13:50 There is a bug in Lazarus 1.6.2 OS X that is causing problems with installing packages, see the discussion here: http://forum.lazarus.freepascal.org/index.php/topic,34807.45.html I expect this is what is causing you trouble. Try installing 1.6.0. Hopefully it can be tracked down soon. Cheers, VTwin ---------------------------------------------------------------------- VTwin · 2016-12-29 14:54 I have not found time to work on tracking it down. It requires walking back through the commits in a binary search: http://wiki.freepascal.org/How_do_I_create_a_bug_report#Regression_cau sed_by_a_certain_revision I'm a little fuzzy on how to do it, so anyone please jump in if you can. ---------------------------------------------------------------------- Bart · 2016-12-29 15:13 Quote from: VTwin on December 29, 2016, 02:50:10 pmhttp://forum.lazarus.freepascal.org/index.php/topic,34807.45.html Tha points to something that seems unrelated to this, and which has already been fixed in trunk. Bart ---------------------------------------------------------------------- VTwin · 2016-12-29 15:22 Thanks Bart, Good news that it has been fixed. I and a few others reported in that thread problems installing packages in 1.6.2, so I figured it was the same issue. Cheers, VTwin ---------------------------------------------------------------------- VTwin · 2016-12-29 15:41 Quote from: Bart on December 29, 2016, 04:13:11 pmQuote from: VTwin on December 29, 2016, 02:50:10 pmhttp://forum.lazarus.freepascal.org/index.php/topic,34807.45.html Tha points to something that seems unrelated to this, and which has already been fixed in trunk. Bart My browser (Firefox) does not go to the post, just to the page the post is on, maybe this: http://forum.lazarus.freepascal.org/index.php/topic,34807.47.html See also subsequent posts by Phil and TurboRascal.