[lazarus] compiling lazarus in linux. Error while linking

Roman Shiryaev mih_val at mail.ru
Sun Feb 9 17:52:53 EST 2003


÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 10 æÅ×ÒÁÌØ 2003 01:08 Marc Weustink ÎÁÐÉÓÁÌ:

> 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.

And the last question - what about size of compiled binary? 
I have the following:

[rmn at localhost lazaruslinux]$ file lazarus; ls -ls
lazarus: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), stripped
total 3540
3540 -rwxr-xr-x    1 rmn      rmn       3619720 æÅ× 10 01:52 lazarus*

So, with `stripping` i've ~3540k.  Is it normal or it may be smaller? 
Just it's interesting for me :)

-- 
WBR,
        Roman Shiryaev          mailto:mih_val at mail.ru
Registered Linux user #302871   Russia, Petrozavodsk






More information about the Lazarus mailing list