[Lazarus] /usr/usr/bin/ld: cannot find -lX11

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Apr 27 10:26:46 CEST 2010


On Tue, 27 Apr 2010 10:13:18 +0200
Roland Turcan <konf at rotursoft.sk> wrote:

> Hello all,
> 
> I  am trying to get compiler the latest SVN on fresh Ubuntu 10.04, but
> it shows this problem:
> 
> ...
> Linking ../lazarus
> /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
> /usr/bin/ld: cannot find -lX11
> lazarus.pp(127,1) Error: Error while linking
> lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[2]: Leaving directory `/home/user/lazarus/ide'
> make[1]: *** [bigide] Error 2
> make[1]: Leaving directory `/home/user/lazarus/ide'
> make: *** [idebig] Error 2
> 
> 
> FPC is fresh SVN as well compiled today.
> 
> What can I do to get it compiled?

Read the fine manual:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_from_source 


Mattias




More information about the Lazarus mailing list