[lazarus] .so not static?
Samuel Liddicott
sam at campbellsci.co.uk
Fri Aug 13 07:37:22 EDT 1999
> -----Original Message-----
> From: Samuel Liddicott [mailto:sam at campbellsci.co.uk]
> Sent: 13 August 1999 12:03 PM
> To: lazarus at miraclec.com
> Subject: RE: [lazarus] Nearly there.
>
> /usr/bin/ld: cannot open -lgtk: No such file or
> directory
OK, I rollod my own ld to print the args and found them to be:
ld -dynamic-linker=/lib/ld-linux.so.2 -o ./lazarus ./link.res
So it seems link.res is the problem file. Lo, and behold at the bottom of
./link.res is:
-lXi
-lXext
-lX11
-lm
-lgtk
-lgdk
-lglib
-lc
Hmm. Why does it only complain about -lgtk? I delete a few lines from the
file and find it complains about -lg*
I think its because all my gtk, gdk, glibs are .so and perhaps this is
trying to static link.
How do I tell it to dynamic link?
Sam
More information about the Lazarus
mailing list