[lazarus] Error when linking Lazarus

Marc Weustink Marc.Weustink at cuperus.nl
Tue Mar 14 08:34:23 EST 2000

From: Guaracy Monteiro [mailto:guaracy at hotnet.net]

>I follow steps by howto and ...


>cd lazarus
>Assembling project
>Assembling lazarus
>Linking ./lazarus
>/usr/bin/ld: cannot open -lX11: No such file or directory
>lazarus.pp(122) Warning: Error while linking
>Closing script ./ppas.sh
>33773 Lines compiled, 46.6 sec
>[guaracy at localhost lazarus]$
>in short, i can't compile Lazarus.
>Some help?

This sounds familiar. A while ago there was a discussion about this. You can
look at:

Search for: [lazarus] Linking Error

In short: look if you have libX11.so (as a sysmlink to libX11.so.?.?)

  From: Peter Vreman <peter at freepascal.org>

  At 18:25 21-2-00 , you wrote:
  >I got it to work.
  >Corel had libX11.so.6.3 but didn't have a link called libX11.so so it
  >wasn't finding it.
  The reason is that he doesn't have the -dev package installed. Only the
  -dev packages contain *.so files. The libs packages contain the *.so.*
  files only which are needed to run the programs.


More information about the Lazarus mailing list