[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]

>Hi,
>
>I follow steps by howto and ...

[snip]

>cd lazarus
>make
>.....
>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:
http://www.miraclec.com/list_archives/lazarus/10-22-99_3-8-00/threads.html

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.

Marc






More information about the Lazarus mailing list