Lazarus cannot find libglib, Ubuntu Hardy, FPC 2.2.2 lazarus / 1-Linux ---------------------------------------------------------------------- deech · 2009-04-10 17:52 Hi all, I am trying to compile Lazarus and 'make' always errors saying it can't find libglib [1]. Other threads have advised that I install libglib. I have done this [2] but the problem persists. Is lazarus looking for a different version or in a different location? Any help is appreciated .... -deech [1] Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for i386 Compiling lazarus.pp Linking ../lazarus /usr/bin/ld: cannot find -lglib lazarus.pp(122,1) Error: Error while linking lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted [2] >  find /usr/lib/ -name "libglib-2.0*" /usr/lib/libglib-2.0.so.0.1600.6 /usr/lib/libglib-2.0.so.0 /usr/lib/libglib-2.0.so /usr/lib/libglib-2.0.la /usr/lib/libglib-2.0.a ---------------------------------------------------------------------- deech · 2009-04-10 22:03 I had to: apt-get install libglib1.2-dev libgdk-pixbuf-dev and all was well. Thanks ... deech