Can't find -lgtk lazarus / 1-Linux ---------------------------------------------------------------------- cybermonkey342 · 2004-04-30 17:22 I just installed SuSE 9.1 and I'm trying to use Lazarus. Seems that everything works fine, but the problem with SuSE: can't find lgtk! I changed the fpc.cfg just like posted in the FAQs, but the error still occurs. Maybe anyone can help me with this? ---------------------------------------------------------------------- Anonymous · 2004-05-02 08:33 I just solved the problem myself! I copied the necessary library files to the usr/lib/ directory. Now everything works fine. ---------------------------------------------------------------------- mschnell · 2004-05-03 07:12 Could you tell a -quite- newby whcih library files exactly ? -Michael ---------------------------------------------------------------------- Vincent Snijders · 2004-05-03 08:27 Rainer Hamann reported on the lazarus mailing list: Quote I added the line -Fl/opt/gnome/lib to /etc/fpc.cfg and linking works fine! ---------------------------------------------------------------------- cybermonkey342 · 2004-05-03 09:03 Well, I've seen that post, and I changed the fpc.cfg, too, but nothing happened... :-( I copied (you must be logged in as ROOT) the following files: opt/gnome/lib/gtk and /gtk2 the whole directories, any library that has a filename which starts with "libgtk" AND "libgdk" in opt/gnome/lib. Just copy them to usr/lib/ . (And don't forget to create the directories gtk and gtk2!) I did it with Konquerer logged in as ROOT. Just drag and drop the files... ;-))) ---------------------------------------------------------------------- Marc · 2004-05-03 09:54 You don't have to (and you shouldn't) copy those files If you get this message: 1) check that the lib path is passed to the compiler (as in the previous messge) 2) make sure you have installed the gtk-devel packages (or create a symlink the libgtk.x.y.x.so -> libgtk.so) this is a FAQ btw. ---------------------------------------------------------------------- cybermonkey342 · 2004-05-03 18:17 Yeah, I know I shouldn't  do that... but it works for me and thats enough. (Maybe another person really shouldn't do that, because you water down your distribution...)