Opened 113 minutes ago
Last modified 58 minutes ago
#70816 assigned defect
lazarus @3.4: gtk2 backend uses a wrong ldflag: ld: library not found for -lgtk-x11-2.0
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | kamischi (Karl-Michael Schindler) | |
Port: | lazarus |
Description
(9001) Assembling (pipe) ../units/powerpc-darwin/gtk2/main.s /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/ide/lazarus.pp(79,5) Hint: (5023) Unit "FPCUnitTestRunner" not used in Lazarus (9001) Assembling (pipe) ../units/powerpc-darwin/gtk2/lazarus.s (9022) Compiling resource ../units/powerpc-darwin/gtk2/lazarus.or (9015) Linking ../lazarus ld: library not found for -lgtk-x11-2.0 An error occurred while linking Error: (9013) Error while linking Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/ide' make[1]: *** [bigide] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/ide'
Change History (1)
comment:1 Changed 58 minutes ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Our config file for FPC is wrong, it fails to add MacPorts prefix, so nothing gonna link. This solves the problem, should go in
fpc.cfg
.