En/na Mark Morgan Lloyd ha escrit:
I'm trying to build Lazarus using FPC 2.0.4 on Debian 3.1 ("Sarge"), and
I've hit the perennial -lglib etc. problems.
I've set up symlinks including
libglib.so -> libglib-2.0.so
libgdk.so -> libgdk-x11-2.0.so
libgtk.so -> libgtk-x11-2.0.so
Don't do that, it's bad practice. Install the "-dev" package instead. If
you don't know which "-dev" package to install, head to
http://packages.debian.org (which will lead to
http://www.debian.org/distrib/packages) and use the second search box
(e.g.: searching for "libglib.so" in distribution "old stable", i.e.
yours I think, the result is libgtk1.2-dbg and libgtk1.2-deb, install
the latter).
This should solve your other problem too.
DISCLAIMER: I don't do development under debian so I cannot be sure that
the above is right, but under mandriva (and I suppose other rpm based
distribution) the solution is similar, but the devel package has the
"-devel" suffix instead.
Bye
--
Luca
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives