[lazarus] compiling lazarus in linux. Error while linking

Marc Weustink marc at dommelstein.net
Sun Feb 9 16:54:47 EST 2003


At 21:21 9-2-2003 +0300, Roman Shiryaev wrote:
>[roman at localhost lazaruslinux]# make
>
><skipped - without error before this place>
>
>Assembling lazarus
>Linking ./lazarus
>/usr//bin/ld: cannot find -lX11                 <====What it means? Where 
>i had find this -lX11?

it is looking for libX11.so  (the option -l@@@ means look for lib@@@.so) It 
is generally provided by the devel-package of the package which provided 
lib@@@.so.x.y

In your case the XFree86-devel package must be installed (assuming you are 
using XFree86). If you don't want to install the devel-package, creating a 
symlink libX11.so -> libX11.so.x.y will mostly work.

>lazarus.pp(302) Error: Error while linking
>Closing script ./ppas.sh
>make[1]: *** [lazarus] Error 1
>make: *** [ide] Error 2
>
>[roman at localhost rmn]$ cat /etc/ld.so.conf
>/usr/X11R6/lib
>/usr/lib/qt3/lib
>
>Please, explain me what to do and what to add to my conf. I can't find the 
>path to lX11.

HtH,

Marc






More information about the Lazarus mailing list