Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
Linux
»
Cannot find -lgtk (when linking)
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
InstallAware Using Lazaru...
by
marcov
[
Today
at 04:46:46 pm]
Who is Indy mattias?
by
paweld
[
Today
at 04:17:53 pm]
[solved] how to get class...
by
Joanna
[
Today
at 03:53:05 pm]
I just released a commerc...
by
BrassGear
[
Today
at 03:17:28 pm]
Does anyone know why thes...
by
Laksen
[
Today
at 03:04:14 pm]
Database standards OR Am ...
by
gidesa
[
Today
at 02:37:56 pm]
How to: create DLL file f...
by
TRon
[
Today
at 02:26:53 pm]
A fairly simple sound sol...
by
paweld
[
Today
at 01:46:11 pm]
Demoscene The Champs Crac...
by
KodeZwerg
[
Today
at 01:45:18 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:27:34 pm]
Step-into the field sette...
by
Martin_fr
[
Today
at 11:31:48 am]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:31:25 am]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[
Today
at 11:03:26 am]
dwindows for Android
by
PierceNg
[
Today
at 10:54:44 am]
create system unit from s...
by
Laksen
[
Today
at 10:53:57 am]
[Solved] Find child contr...
by
Joanna
[
Today
at 09:53:43 am]
FpDebug unexpected Assemb...
by
Marc
[
Today
at 08:46:38 am]
Offical launch of the 1 B...
by
Handoko
[
Today
at 07:59:07 am]
Big Numbers Math
by
iLya2IK
[
Today
at 07:13:20 am]
Lazarus for Windows on aa...
by
dbannon
[
Today
at 07:02:55 am]
BUG REPORT: Unable to gen...
by
dbannon
[
Today
at 06:29:49 am]
what to do if my target M...
by
Laksen
[
Today
at 12:49:12 am]
For-in loop over constant...
by
ASerge
[
Today
at 12:36:09 am]
Converting a string/index...
by
TRon
[April 18, 2024, 11:56:37 pm]
exclude ALL packages from...
by
PascalDragon
[April 18, 2024, 11:33:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot find -lgtk (when linking) (Read 9872 times)
Ger
Guest
Cannot find -lgtk (when linking)
«
on:
February 20, 2004, 10:06:05 am »
When trying to compile a simple project (initial form + 1 button added) I get :
TOutputFilter: "Compiling /tmp/project1.lpr"
TOutputFilter: "Linking /tmp/project1"
TOutputFilter: "/usr/bin/ld: cannot find -lgtk"
TOutputFilter: "project1.lpr(12,1) Error: Error while linking"
TOutputFilter: "Closing script ppas.sh"
Running on Suse 9.0 with KDE 3.2
Any ideas appreciated
Ger
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
Cannot find -lgtk (when linking)
«
Reply #1 on:
February 20, 2004, 01:14:13 pm »
Have you read the FAQ:
http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=2#9
And this topic:
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=146
Does it help you?
Logged
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #2 on:
February 20, 2004, 05:22:53 pm »
All .dev's are installed (or at least so reports the SuSE installer )
These are the .a files I can find
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libcrux-engine.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libhcengine.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/liblighthouseblue.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libmist.a
/opt/gnome/lib/gtk-2.0/2.2.0/engines/libsvg.a
/opt/gnome/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.a
/opt/gnome/lib/gtk-2.0/2.2.0/loaders/svg_loader.a
/opt/gnome/lib/gtk-2.0/modules/libgal-a11y-2.0.a
/opt/gnome/lib/gtkhtml/libgnome-gtkhtml-editor-3.0.a
/opt/gnome/lib/libgconf-gtk-1.a
/opt/gnome/lib/libgtk.a
/opt/gnome/lib/libgtkgl.a
/opt/gnome/lib/libgtkhtml-2.a
/opt/gnome/lib/libgtkhtml-3.0.a
/opt/gnome/lib/libgtkhtml-a11y-3.0.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpglib.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpgtk.a
/usr/lib/fpc/1.9.3/units/linux/fpgtk/libpfpgtkext.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgdk.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgdkpixbuf.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpglib.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgmodule.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgtk.a
/usr/lib/fpc/1.9.3/units/linux/gtk/libpgtkglarea.a
/usr/lib/gimp/1.2/modules/libcolorsel_gtk.a
/usr/lib/ocaml/lablgtk/lablgtk.a
/usr/lib/ocaml/lablgtk/liblablgtk.a
Dunno what else I can look for
Ger
Logged
Marc
Administrator
Hero Member
Posts: 2584
Cannot find -lgtk (when linking)
«
Reply #3 on:
February 20, 2004, 05:36:31 pm »
is /opt/gnome/lib/ part of your fpc.cfg ?
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #4 on:
February 20, 2004, 08:41:46 pm »
Adding the line to fpc.cfg crashes the IDE
TOutputFilter: "Hint: Start of reading config file /etc/fpc.cfg"
TOutputFilter: "Hint: End of reading config file /etc/fpc.cfg"
TOutputFilter: "Free Pascal Compiler version 1.9.3 [2004/02/02] for i386"
TOutputFilter: "Copyright (c) 1993-2004 by Florian Klaempfl"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling /home/ger/Lazarus/BoardDesign/project1.lpr"
TOutputFilter: "Linking /home/ger/Lazarus/BoardDesign/project1"
TOutputFilter: "15 Lines compiled, 1.8 sec"
[TCompiler.Compile] end
[TDebugManager.DoInitDebugger] A
[TCmdLineDebugger] Debug PID: 4753
Gdk-ERROR **: BadWindow (invalid Window parameter)
serial 18893 error_code 3 request_code 10 minor_code 0
Logged
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #5 on:
February 22, 2004, 02:39:21 am »
Problem solved.
It's not Lazarus or fpc, it's my machine (Athlon 1.1 Ghz) that's going awry.
I tried it on an Intel 800 Mhz and a 2.8 Ghz and it worked okay on both.
Ger
Logged
Marc
Administrator
Hero Member
Posts: 2584
Cannot find -lgtk (when linking)
«
Reply #6 on:
February 22, 2004, 07:36:23 pm »
That badwindow now and then pops up. It is something with debugging, gdb, X and lazarus
I'm investigating it, however the problem disapeared here (no clue why)
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Anonymous
Guest
Cannot find -lgtk (when linking)
«
Reply #7 on:
February 23, 2004, 10:18:28 am »
My workstation is a NIS-client and I suspect that to be the reason. After disabling NIS I reinstalled Lazarus and FPC, they both work okay now. Will try to track down what the problem is because NIS is the standard installation here.
Ger
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
Linux
»
Cannot find -lgtk (when linking)
TinyPortal
© 2005-2018