[Lazarus] Lazarus GTK project dependencies

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Apr 14 11:48:08 CEST 2011



On Thu, 14 Apr 2011, Felipe Monteiro de Carvalho wrote:

> On Thu, Apr 14, 2011 at 11:14 AM,  <michael.vancanneyt at wisa.be> wrote:
>> fsb: >ldd /usr/lib/libgtk-x11-2.0.so.0 | cut -d' ' -f 3 | xargs cat | wc -c
>> 10646417
>>
>> And I checked: the LCL app loads exactly the same list of libraries as the
>> GTK lib itself. I don't have an LCL Qt app to compare with.
>
> You forgot to count libgtk-x11-2.0.so
> ldd on gtk-x11 does not count gtk-x11 itself

I know. But it's not relevant for the list.
It was just meant to demonstrate that loading libgtk-x11-2.0.so uses the
same set of libs as an LCL app.

>
> Another difference for me was:
>
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7004000)

>
>> It needs 10Mb, more than the Qt lib.
>
> No way, why do you think that /usr/lib/libqt-mt uses all Qt libs? In
> fact it uses *zero* other Qt libs =D

Like I said, I have no LCL Qt app to compare with.

But you are right, I didn't check all Qt libs. It didn't occur to me to
check for uppercase Qt files.

Michael.




More information about the Lazarus mailing list