Error while linking lazarus / 1-Linux ---------------------------------------------------------------------- Theofilus · 2003-09-24 08:16 When I compile a simple project I get the error /usr//bin/ld: cannot find -lgtk Project1.lpr(15) Error: Error while linking I didn't see this in the FAQ. What could be wrong? ---------------------------------------------------------------------- Marc · 2003-09-24 10:09 See FAQ:  I receive an error during the linking that states /usr/bin/ld can't find -l ---------------------------------------------------------------------- Anonymous · 2003-11-05 19:17 I get the same error, and can find no corresponding package to install. gdk seems to be part of the package gtk, and I have installed this, as well at its -devel counterpart. Can someone please help? ---------------------------------------------------------------------- Anonymous · 2003-11-05 19:23 Sorry, I misread the original message. The error which I get is "cannot find -lgdk". Apologies for mistake. Eric ---------------------------------------------------------------------- Anonymous · 2003-11-06 10:52 Quote from: "Anonymous"Sorry, I misread the original message. The error which I get is "cannot find -lgdk". Apologies for mistake. EricGuest, I've now found the solution. I had to add some library paths in the 'Compiler options' dialog. Mine now reads /lib/;/opt/gnome/lib/ Eric