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

but in the general case how do I know what the correct target library is? For example I get a link error referring to -lgdk_pixbuf, but should that refer to libgdk_pixbuf-2.0.so or to libgdk_pixbuf_xlib-2.0.so: I don't pretend to be a unix development guru so I'm uncertain of the difference.

Whichever I select I end up with a screed of undefined references to e.g. gtk_signal_connect and gdk_draw_pixmap (amongst others). I'm obviously missing something fairly basic, but can anybody suggest what and is there anything that can be done to pre-check the available libraries etc. before a build is attempted?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to