[Lazarus] Lazarus GTK project dependencies

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Apr 14 11:22:25 CEST 2011


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

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

Here is what an LCL-Qt app uses:

[felipe at localhost httpclient]$ ldd readhttpheaders
        linux-gate.so.1 =>  (0xffffe000)
        libQt4Pas.so.5 => /usr/lib/libQt4Pas.so.5 (0xb7602000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb74d0000)
        libdl.so.2 => /lib/libdl.so.2 (0xb74cc000)
        libc.so.6 => /lib/i686/libc.so.6 (0xb737a000)
        libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0xb630b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb5880000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb5759000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb54d8000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb53e7000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb53c9000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb53a9000)
        /lib/ld-linux.so.2 (0xb7829000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb5305000)
        libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb52a8000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0xb4e8e000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb4e76000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb4e6b000)
        libm.so.6 => /lib/i686/libm.so.6 (0xb4e45000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb4d6b000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb4d24000)
        libz.so.1 => /lib/libz.so.1 (0xb4d11000)

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list