lazarus linking error on macosx

I am using:

Lazarus 1.6.4 rexported FPC 3.0.2 i386-darwin-carbon
I am trying to use abc ui pack. Compilation goes fine, but when I try to rebuild the idea I got error while linking.

Here the full message:

Messaggi, avvertimenti: 2

Warning: other unit files search path (aka unit path) of "LCLTMSFNCCorePkgDE 1.0.6" contains "/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core", which belongs to package "LCLTMSFNCCorePkg"

Warning: other unit files search path (aka unit path) of "LCLTMSFNCCorePkg 1.0.6" contains "/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core", which belongs to package "LCLTMSFNCCorePkgDE"

Hint: (11030) Start of reading config file /etc/fpc.cfg

Hint: (11031) End of reading config file /etc/fpc.cfg

Free Pascal Compiler version 3.0.2 [2017/02/12] for i386

Copyright (c) 1993-2017 by Florian Klaempfl and others

(1002) Target OS: Darwin for i386

(3104) Compiling LCLTMSFNCCorePkg.pas

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(10,3) Hint: (5023) Unit "LCLTMSFNCBitmapContainer" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(10,29) Hint: (5023) Unit "LCLTMSFNCCustomControl" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(10,53) Hint: (5023) Unit "LCLTMSFNCGraphics" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(11,3) Hint: (5023) Unit "LCLTMSFNCHTMLEngine" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(11,24) Hint: (5023) Unit "LCLTMSFNCStyles" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(11,57) Hint: (5023) Unit "LCLTMSFNCTypes" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(12,3) Hint: (5023) Unit "LCLTMSFNCXPVS" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(12,47) Hint: (5023) Unit "LCLTMSFNCCustomComponent" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(13,3) Hint: (5023) Unit "LCLTMSFNCCustomScrollControl" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(13,33) Hint: (5023) Unit "LCLTMSFNCScrollBar" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(14,3) Hint: (5023) Unit "LCLTMSFNCURLBitmapContainer" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(14,32) Hint: (5023) Unit "LCLTMSFNCGDIPlusApi" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(14,53) Hint: (5023) Unit "LCLTMSFNCGDIPlusClasses" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(15,3) Hint: (5023) Unit "LCLTMSFNCGraphicsGeneral" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(15,53) Hint: (5023) Unit "LCLTMSFNCGraphicsWin" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(16,3) Hint: (5023) Unit "LCLTMSFNCGraphicsUnix" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(16,26) Hint: (5023) Unit "LCLTMSFNCJSONReader" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(16,47) Hint: (5023) Unit "LCLTMSFNCJSONWriter" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(17,25) Hint: (5023) Unit "LCLTMSFNCUndo" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(17,40) Hint: (5023) Unit "LCLTMSFNCHint" not used in LCLTMSFNCCorePkg

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkg.pas(18,3) Hint: (5023) Unit "LCLTMSFNCPopup" not used in LCLTMSFNCCorePkg

(9001) Assembling (pipe) /Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/lib/i386-darwin/LCLTMSFNCCorePkg.s

(1008) 33 lines compiled, 0.5 sec

(1022) 23 hint(s) issued

Hint: (11030) Start of reading config file /etc/fpc.cfg

Hint: (11031) End of reading config file /etc/fpc.cfg

Free Pascal Compiler version 3.0.2 [2017/02/12] for i386

Copyright (c) 1993-2017 by Florian Klaempfl and others

(1002) Target OS: Darwin for i386

(3104) Compiling LCLTMSFNCCorePkgDE.pas

/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/LCLTMSFNCCorePkgDE.pas(10,3) Hint: (5023) Unit "LCLTMSFNCBitmapContainerDE" not used in LCLTMSFNCCorePkgDE

(9001) Assembling (pipe) /Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core/lib/i386-darwin/LCLTMSFNCCorePkgDE.s

(1008) 22 lines compiled, 0.5 sec

(1022) 3 hint(s) issued

make: Entering directory `/Developer/lazarus'

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ide idepkg

make[1]: Entering directory `/Developer/lazarus/ide'

../tools/svn2revisioninc .. revision.inc

/Applications/Xcode.app/Contents/Developer/usr/bin/make --assume-new=lazarus.pp lazarus OPT=' @/Users/giacca/.lazarus/idemake.cfg'

make[2]: Entering directory `/Developer/lazarus/ide'

/usr/local/bin/ppc386 -gl -vbqewnhi -Sci -dlclcarbon -gw -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/local/lib/fpc/3.0.2/units/i386-darwin/rtl -Fiinclude -Fiinclude/darwin -Fi../images -FE.. -FU../units/i386-darwin/carbon @/Users/giacca/.lazarus/idemake.cfg -di386 lazarus.pp

Hint: (11030) Start of reading config file /etc/fpc.cfg

Hint: (11031) End of reading config file /etc/fpc.cfg

Hint: (11030) Start of reading config file /Users/giacca/.lazarus/idemake.cfg

Hint: (11031) End of reading config file /Users/giacca/.lazarus/idemake.cfg

Free Pascal Compiler version 3.0.2 [2017/02/12] for i386

Copyright (c) 1993-2017 by Florian Klaempfl and others

(1002) Target OS: Darwin for i386

(3104) Compiling lazarus.pp

(9001) Assembling (pipe) /Developer/lazarus/units/i386-darwin/carbon/lazarus.s

(9022) Compiling resource /Developer/lazarus/units/i386-darwin/carbon/lazarus.or

(9015) Linking ../lazarus

ld: library not found for -lcairo

make[2]: *** [lazarus] Error 1

make[1]: *** [idepkg] Error 2

An error occurred while linking 

lazarus.pp(156) Error: (9013) Error while linking

lazarus.pp(156) Fatal: (10026) There were 1 errors compiling module, stopping

Fatal: (1018) Compilation aborted

make[2]: Leaving directory `/Developer/lazarus/ide'

make: *** [idepkg] Error 2

make[1]: Leaving directory `/Developer/lazarus/ide'

make: Leaving directory `/Developer/lazarus'


Hi, thank you for your log statements during installation, we'll investigate this here as soon as possible.

Hi, 


Do you have cairo installed? If not, please make sure the cairo library is installed, this is necessary for native drawing on Unix systems
I can use and build lazarus without Cairo. At least if I don't try to install fnc pack. Why inc uses Cairo and lazarus not?
Anyway I have installed cairo.
Now I get:

Messaggi, avvertimenti: 2

Warning: other unit files search path (aka unit path) of "LCLTMSFNCCorePkgDE 1.0.6" contains "/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core", which belongs to package "LCLTMSFNCCorePkg"

Warning: other unit files search path (aka unit path) of "LCLTMSFNCCorePkg 1.0.6" contains "/Users/giacca/Google Drive/lazarus_projects/my_components/tmssoftware/TMS FNC Core", which belongs to package "LCLTMSFNCCorePkgDE"

Hint: (11030) Start of reading config file /etc/fpc.cfg

Hint: (11031) End of reading config file /etc/fpc.cfg

Free Pascal Compiler version 3.0.2 [2017/02/12] for i386

Copyright (c) 1993-2017 by Florian Klaempfl and others

(1002) Target OS: Darwin for i386

(3104) Compiling HistoryLazarus.pas

(3104) Compiling HistoryFiles.pas

/Users/giacca/Google Drive/lazarus_projects/my_components/HistoryFiles/HistoryFiles.pas(412,41) Warning: (5066) Symbol "FileExistsUTF8" is deprecated: "Use the function in LazFileUtils unit"

(9001) Assembling (pipe) /Users/giacca/Google Drive/lazarus_projects/my_components/HistoryFiles/lib/HistoryFiles.s

(9001) Assembling (pipe) /Users/giacca/Google Drive/lazarus_projects/my_components/HistoryFiles/lib/HistoryLazarus.s

(1008) 740 lines compiled, 0.7 sec

(1021) 1 warning(s) issued

(1022) 2 hint(s) issued

make: Entering directory `/Developer/lazarus'

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ide idepkg

make[1]: Entering directory `/Developer/lazarus/ide'

../tools/svn2revisioninc .. revision.inc

/Applications/Xcode.app/Contents/Developer/usr/bin/make --assume-new=lazarus.pp lazarus OPT=' @/Users/giacca/.lazarus/idemake.cfg'

make[2]: Entering directory `/Developer/lazarus/ide'

/usr/local/bin/ppc386 -gl -vbqewnhi -Sci -dlclcarbon -gw -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/local/lib/fpc/3.0.2/units/i386-darwin/rtl -Fiinclude -Fiinclude/darwin -Fi../images -FE.. -FU../units/i386-darwin/carbon @/Users/giacca/.lazarus/idemake.cfg -di386 lazarus.pp

Hint: (11030) Start of reading config file /etc/fpc.cfg

Hint: (11031) End of reading config file /etc/fpc.cfg

Hint: (11030) Start of reading config file /Users/giacca/.lazarus/idemake.cfg

Hint: (11031) End of reading config file /Users/giacca/.lazarus/idemake.cfg

Free Pascal Compiler version 3.0.2 [2017/02/12] for i386

Copyright (c) 1993-2017 by Florian Klaempfl and others

(1002) Target OS: Darwin for i386

(3104) Compiling lazarus.pp

(9001) Assembling (pipe) /Developer/lazarus/units/i386-darwin/carbon/lazarus.s

(9022) Compiling resource /Developer/lazarus/units/i386-darwin/carbon/lazarus.or

(9015) Linking ../lazarus

ld: warning: ignoring file /usr/local/lib/libcairo.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libcairo.dylib

Undefined symbols for architecture i386:

  "_cairo_append_path", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CLIPPATH$TTMSFNCGRAPHICSPATH in LCLTMSFNCGraphicsUnix.o

  "_cairo_arc", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWARC$crc24711AC8 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWELLIPSE$crcA3ADEF34 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLARC$crcA086F481 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLELLIPSE$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

  "_cairo_clip", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CLIPPATH$TTMSFNCGRAPHICSPATH in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CLIPRECT$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLARC$crcA086F481 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLELLIPSE$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYGON$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYLINE$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLRECT$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

      ...

  "_cairo_close_path", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYGON$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYGON$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_PATHCLOSE$POINTER in LCLTMSFNCGraphicsUnix.o

  "_cairo_copy_path", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CREATEPATH$$POINTER in LCLTMSFNCGraphicsUnix.o

  "_cairo_destroy", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DESTROYRESOURCES in LCLTMSFNCGraphicsUnix.o

  "_cairo_fill", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLARC$crcA086F481 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLELLIPSE$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYGON$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYLINE$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLRECT$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

  "_cairo_image_surface_create_for_data", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE_$$_CREATECAIROIMAGE$crcB4D4991C in LCLTMSFNCGraphicsUnix.o

  "_cairo_line_to", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINE$crc80236F44 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYGON$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYLINE$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYGON$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYLINE$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_PATHLINETO$POINTER$TPOINTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_move_to", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINE$crc80236F44 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYGON$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYLINE$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYGON$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLPOLYLINE$crc9AF77737 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_PATHMOVETO$POINTER$TPOINTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWTEXTINTERNAL$crcD4982E4F in LCLTMSFNCGraphicsUnix.o

      ...

  "_cairo_new_path", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CLIPRECT$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CREATEPATH$$POINTER in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWARC$crc24711AC8 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWELLIPSE$crcA3ADEF34 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINE$crc80236F44 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYGON$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYLINE$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      ...

  "_cairo_paint", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE in LCLTMSFNCGraphicsUnix.o

  "_cairo_pattern_add_color_stop_rgba", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_pattern_create_linear", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_pattern_destroy", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_rectangle", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_CLIPRECT$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_FILLRECT$crc633E3FA2 in LCLTMSFNCGraphicsUnix.o

  "_cairo_restore", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_RESTORECONTEXT in LCLTMSFNCGraphicsUnix.o

  "_cairo_rotate", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_ROTATETRANSFORM$SINGLE in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_SETTEXTANGLE$TRECTF$SINGLE$$TRECTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_save", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_SAVECONTEXT in LCLTMSFNCGraphicsUnix.o

  "_cairo_scale", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_SCALETRANSFORM$SINGLE$SINGLE in LCLTMSFNCGraphicsUnix.o

  "_cairo_select_font_face", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$_DRAWTEXTINTERNAL$crcD4982E4F_$$_APPLYFONT in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_antialias", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_SETANTIALIASING$BOOLEAN in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_dash", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_APPLYSTROKE in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_font_size", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$_DRAWTEXTINTERNAL$crcD4982E4F_$$_APPLYFONT in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_line_width", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_APPLYSTROKE in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_source", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINEARGRADIENT$TRECTF in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_source_rgb", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$_DRAWTEXTINTERNAL$crcD4982E4F_$$_APPLYFONT in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_source_rgba", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_APPLYFILL in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_APPLYSTROKE in LCLTMSFNCGraphicsUnix.o

  "_cairo_set_source_surface", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE in LCLTMSFNCGraphicsUnix.o

  "_cairo_show_text", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWTEXTINTERNAL$crcD4982E4F in LCLTMSFNCGraphicsUnix.o

  "_cairo_stroke", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWARC$crc24711AC8 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWELLIPSE$crcA3ADEF34 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWLINE$crc80236F44 in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYGON$crc1E00997E in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWPOLYLINE$crc1E00997E in LCLTMSFNCGraphicsUnix.o

  "_cairo_surface_destroy", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE in LCLTMSFNCGraphicsUnix.o

  "_cairo_text_extents", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWTEXTINTERNAL$crcD4982E4F in LCLTMSFNCGraphicsUnix.o

  "_cairo_translate", referenced from:

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_DRAWBITMAP$TGRAPHIC$TRECTF$TRECTF$SINGLE in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_SETTEXTANGLE$TRECTF$SINGLE$$TRECTF in LCLTMSFNCGraphicsUnix.o

      _LCLTMSFNCGRAPHICSUNIX$_$TTMSFNCGRAPHICSCONTEXTUNIX_$__$$_TRANSLATETRANSFORM$SINGLE$SINGLE in LCLTMSFNCGraphicsUnix.o

  "_cairo_version", referenced from:

      _CAIRO_$$_CAIRO_VERSION$LONGINT$LONGINT$LONGINT in cairo.o

ld: symbol(s) not found for architecture i386

An error occurred while linking 

make[2]: *** [lazarus] Error 1

make[1]: *** [idepkg] Error 2

make: *** [idepkg] Error 2

lazarus.pp(156) Error: (9013) Error while linking

lazarus.pp(156) Fatal: (10026) There were 1 errors compiling module, stopping

Fatal: (1018) Compilation aborted

make[2]: Leaving directory `/Developer/lazarus/ide'

make[1]: Leaving directory `/Developer/lazarus/ide'

make: Leaving directory `/Developer/lazarus'


Hi, 


Cairo is used for native drawing, anti-aliasing and more complex path shapes, whereas the default drawing in Lazarus doesn't support this. You can see this as GDI+ on Windows. According to the error, you installed the incorrect architecture I suppose (https://stackoverflow.com/questions/11191411/installing-cairo-on-os-x-lion)

Tried, it does not work. Same error.

Hi, 


As this is the first time we encounter such behavior we'll need more time to investigate. It's unclear exactly what is causing this error. We have found some more useful information at the following link: https://stackoverflow.com/questions/11191411/installing-cairo-on-os-x-lion