Help Needed: Error while linking lazarus / 1-Linux ---------------------------------------------------------------------- theARE · 2004-02-12 23:26 Hi, heard about this project today, cant believe I hadent heard about it before! Anyway I'm installing it on Debian using alienized rpm's and after reading around a bit and solving a few different problems, I've almost got it working. The only problem I'm now getting is that on trying to compile something it gives out this error TOutputFilter: "/usr/bin/ld: cannot find -lX11" TOutputFilter: "project1.lpr(15) Error: Error while linking" TOutputFilter: "Closing script ppas.sh" I'm guessing that it has something to do with the correct X11 development packages either not being installed, or being in a different localion and needing a link to them, but I'm not sure. What such packages does Lazarus require , and where does it look for them in? Or  am I wrong, and is their another cause for this? I would appreciate any help anyone can offer. Thanks Full output of what i'm getting: [TCompiler.Compile] CmdLine="/usr/bin/ppc386  -Rintel -S2cgi -CD -Ch8000000 -OG1p1 -gl -XD -vewnhi -l -Fu/usr/share/lazarus/lcl/units/ -Fu/usr/share/lazarus/lcl/units/gtk/ -Fu/usr/share/lazarus/packager/units/ -Fu. -dLCL /tmp/project1.lpr" TOutputFilter: "Hint: Start of reading config file /etc/ppc386.cfg" TOutputFilter: "Hint: End of reading config file /etc/ppc386.cfg" TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386" TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl" TOutputFilter: "Target OS: Linux for i386" TOutputFilter: "Compiling /tmp/project1.lpr" TOutputFilter: "syslinux.pp(5,1) Hint: Conditional I386 was set at startup in last compilation of syslinux.pp" TOutputFilter: "linux.pp(6,13) Hint: Conditional I386 was set at startup in last compilation of linux.pp" TOutputFilter: "math.pp(6,13) Hint: Conditional I386 was set at startup in last compilation of math.pp" TOutputFilter: "gtkint.pp(6,13) Hint: Conditional GTK1 was set at startup in last compilation of gtkint.pp" TOutputFilter: "gtkproc.pp(6,13) Hint: Conditional GTK1 was set at startup in last compilation of gtkproc.pp" TOutputFilter: "Compiling unit1.pas" TOutputFilter: "Assembling unit1" TOutputFilter: "Assembling project1" TOutputFilter: "Linking /tmp/project1" TOutputFilter: "/usr/bin/ld: cannot find -lX11" TOutputFilter: "project1.lpr(15) Error: Error while linking" TOutputFilter: "Closing script ppas.sh" ---------------------------------------------------------------------- neli · 2004-02-13 08:13 apt-get install xlibs-dev HTH, Micha. ---------------------------------------------------------------------- theARE · 2004-02-15 15:43 thanks, I thought it was something like that. All seems to be working now. ---------------------------------------------------------------------- kees · 2004-02-17 11:05 Isn't it possible to use the shared libraries? What to change in the makefile to accomplish this?