Forum > Linux
Can't find -lgtk
cybermonkey342:
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:
I just solved the problem myself! I copied the necessary library files to the usr/lib/ directory. Now everything works fine.
mschnell:
Could you tell a -quite- newby whcih library files exactly ?
-Michael
Vincent Snijders:
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!
--- End quote ---
cybermonkey342:
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... ;-)))
Navigation
[0] Message Index
[#] Next page