On Tue, 27 Jun 2006 18:58:02 +0200 Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Ramon Nogueira wrote: > > Hi, I'm running lazarus 0.9.16 on Ubuntu 6.06 with FPC 2.0.2 installed > > from RPMs with alien. Everything runs ok but when I try to build an > > application (the default one that starts when Lazarus does), I get a > > linker error: > > > > Free Pascal Compiler version 2.0.2 [2005/11/26] for i386 > > Copyright (c) 1993-2005 by Florian Klaempfl > > Target OS: Linux for i386 > > Compiling /tmp/project1.lpr > > Compiling unit1.pas > > Linking /tmp/project1 > > /usr/bin/ld: cannot find -lglib > > project1.lpr(17,1) Error: Error while linking > > > > Am I missing a library or something? Do I need a specific version of > > glib? Here is the output of > > ls /usr/lib | grep glib: > > glib-2.0 > > libavahi-glib.a > > libavahi-glib.la > > libavahi-glib.so > > libavahi-glib.so.1 > > libavahi-glib.so.1.0.0 > > libdbus-glib-1.so.2 > > libdbus-glib-1.so.2.0.0 > > libglib-1.2.so.0 > > libglib-1.2.so.0.0.10 > > libglib-2.0.a > > libglib-2.0.la > > libglib-2.0.so > > libglib-2.0.so.0 > > libglib-2.0.so.0.1000.3 > > libglibmm-2.4.so.1 > > libglibmm-2.4.so.1.0.24 > > libglibmm_generate_extra_defs-2.4.so.1 > > libglibmm_generate_extra_defs-2.4.so.1.0.24 > > libpoppler-glib.so.1 > > libpoppler-glib.so.1.0.0 > > > libglib-1.2.so is missing. See also FAQ. > I don't think that this is the problem as I don't have libglib-1.2.so but lazarus is working. AFAIR if you use alien on the fpc RPM the newly created DEB does not install /etc/fpc.cfg, which causes the trouble. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives