Recent

Author Topic: library not found for -lgtk-x11-2.0  (Read 4615 times)

eenplus

  • New Member
  • *
  • Posts: 14
library not found for -lgtk-x11-2.0
« on: August 05, 2013, 04:08:24 pm »
Hello dear members,

don't really know why but even with a clean install, when I recompile my IDE I always end up
with this error and the IDE does not get recompiled, nor any new component being installed.

Things i did : checked the checkbox "clean all" in the configure build dialog.

ld: library not found for -lgtk-x11-2.0
ld: library not found for -lgtk-x11-2.0
An error occurred while linking
/Developer/lazarus/ide/lazarus.pp(129,42) Error: Error while linking
/Developer/lazarus/ide/lazarus.pp(129,42) Fatal: There were 1 errors compiling module, stopping

Environment :

Lazarus 1.0.10
FPC 2.6.2
2013-06-09
Mac Os X 10.7.5
X Code 4.5.2

Can anyone help me with this ?

Tx.

/Dirk

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: library not found for -lgtk-x11-2.0
« Reply #1 on: August 05, 2013, 04:59:01 pm »
You may have to install X11 and gtk libraries. X11 should come from apple or macports. There are several package managers for gtk: MacPorts, Fink, homebrew. I assume that your fpc and lazarus are 32bit, but X11 and gtk are probably 64bit, since it is sort of the default on 10.7.5: If so, you also need 64bit fpc and the lcl. Maybe you can manage to have the X11 and gtk libs as 32bit.
« Last Edit: August 05, 2013, 06:38:40 pm by kamischi »
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

 

TinyPortal © 2005-2018