Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-04

/usr/usr/bin/ld: cannot find -lX11

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

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?

Reply by email

Mattias Gaertner
to Roland Turcan
Show quoted text 22 lines
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

Reply by email