Problem installation lazarus / 1-Linux ---------------------------------------------------------------------- xinyiman · 2011-01-17 12:26 On my ubuntu 10:10 I deleted the folder / usr / lib / lazarus and its subfolders, then I deleted the folder. Lazarus in my home, I downloaded the daily snapshot from the site of lazarus I unpacked the file and I ran the command "sudo dpkg -i * "I installed lazarus, then I stand up and the following screen, I have given ok, but does not allow me to complete, what should I do? Then I'm going to check Environment -> Environment options -> file and it seems okay. lazarus current folder "/ usr/lib/lazarus/0.9.28.2" does not seem correct. Without it you will not be able to create applications LCL. Click OK to set the default "/ usr/lib/lazarus/0.9.31 /" If not, check Environment -> Environment options -> file ---------------------------------------------------------------------- xinyiman · 2011-01-17 14:33 I created a virtual machine where I installed Ubuntu 32-bit 10/10, I downloaded the latest daily snapshot, I installed, fill in the blank form that appears when the program starts and I get these errors. Why? Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.4.2-0 [2010/11/11] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling project1.lpr Compiling unit1.pas Compiling resource /home/generico/Scrivania/Progetti_Lazarus/prova/lib /i386-linux/project1.or Linking project1 /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 /usr/bin/ld: cannot find -latk-1.0 /usr/bin/ld: cannot find -lcairo project1.lpr(19,1) Error: Error while linking /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 /usr/bin/ld: cannot find -latk-1.0 /usr/bin/ld: cannot find -lcairo project1.lpr(19,1) Error: Error while linking project1.lpr(19,1) Fatal: There were 1 errors compiling module, stopping ---------------------------------------------------------------------- ik · 2011-01-17 14:40 can you provide the list of Code: [Select]$ sudo ldconfig -v ? ---------------------------------------------------------------------- xinyiman · 2011-01-17 14:57 Attachment ---------------------------------------------------------------------- marcov · 2011-01-17 19:28 Did you install gtk-devel, or whatever passes for it on Ubuntu? ---------------------------------------------------------------------- xinyiman · 2011-01-18 07:09 Perfect, thanks I used the command sudo apt-get install libcheese-gtk-dev and told me that the dependencies were not met and advised me to use the command sudo apt-get -f install Thank