error while compiling empty project lazarus / 1-Linux ---------------------------------------------------------------------- mohdis · 2011-03-14 21:11 hello every body ,, i am totally new in linux word , after hours of hard work i installed it successfully (ubuntu 10.10)  ,  then i downloaded lazarus and install it successfully as i know . the problem is when i do comiple to the new project is got error messages as follow: /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lX11 /usr/bin/ld: cannot find -lgdk_pixbuf-2.0 /usr/bin/ld: cannot find -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgdk-x11-2.0 /usr/bin/ld: cannot find -lgobject-2.0 /usr/bin/ld: cannot find -lglib-2.0 /usr/bin/ld: cannot find -lgthread-2.0 /usr/bin/ld: cannot find -lgmodule-2.0 /usr/bin/ld: cannot find -lpango-1.0 project1.lpr(20,1) Error: Error while linking project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping what should i do  or install ?, please help ---------------------------------------------------------------------- Dibo · 2011-03-14 21:21 Which version you installed? For stable 0.9.28 see this script: http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu ap-get/aptitude should automatically install dependent librarys For latest svn version, try this: http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubun tu_repository Look at section "Install development packages". This packages could be not fresh, so cut last version from each and double tab and terminal should promt newest. I am using lazarus on ubuntu 10.10 too, so it works fine (but I don't remember which packages I installed). This is only developers headers for FPC compiler. Compiled executable run on ubuntu without this packages