How to fix: "/usr/bin/ld: cannot find -lgdk_pixbuf-2.0..." lazarus / 11-Options ---------------------------------------------------------------------- AlnsLazarus · 2012-09-25 20:15 Hello all: I have Linux mint 13, KDE. Downloaded and installed Lazarus. So i was very happy , but in my very first project, received the following while i was trying to run it : "usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lgdk_pixbuf-2.0 /usr/bin/ld: cannot find -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgdk-x11-2.0 /usr/bin/ld: cannot find -lgobject-2.0 /usr/bin/ld: cannot find -lglib-2.0 /usr/bin/ld: cannot find -lgthread-2.0 /usr/bin/ld: cannot find -lgmodule-2.0 /usr/bin/ld: cannot find -lpango-1.0 /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -latk-1.0 project1.lpr(20,1) Error: Error while linking project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping" So, What is happening here? ---------------------------------------------------------------------- a.atalla · 2012-09-25 21:07 you need to install  libgtk2.0-dev ---------------------------------------------------------------------- AlnsLazarus · 2012-09-26 04:54 Well, thanks a lot. But actually, i had to install: libgtk-3-0            libgtk-3-dev        libgtk2.0-dev         and (im not sure): libgtk-3-0-dbg libgtk2.0-0-dbg An afterwards, it worked. ---------------------------------------------------------------------- Leledumbo · 2012-09-26 17:04 You should only need libgtk2.0-dev, the -dbg and gtk3 ones are simply unused (gtk3 widgetset is still at initial stage). ---------------------------------------------------------------------- AlnsLazarus · 2012-09-26 20:18 Well, thanks: I have to say "make it run first, realize how you did that later",  because when i first tried to install         libgtk2.0-dev  it required    libgtk2.0-0  but, in my system, i had to install    libgtk-3-0    because libgtk2.0-0 was old.   (i have kde 4.9, linux mint 13,  ... and yes: i dont know why); after that, i remember that got something like: " /usr/bin/ld: cannot find -lpango-1.0 /usr/bin/ld: cannot find -lcairo /usr/bin/ld: cannot find -latk-1.0 project1.lpr(20,1) Error: Error while linking project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping" so... believe me, i did the other stuff and it is working now