[maemo-developers] Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ?

From: pHilipp Zabel philipp.zabel at gmail.com
Date: Wed Feb 3 13:22:35 EET 2010
On Wed, Feb 3, 2010 at 11:57 AM, Jianchun Zhou <jianchun.zhou at gmail.com> wrote:
> Dear List:
>
> When I issued "ldd /usr/bin/Calendar" under scrachbox, I got results as
> below:
>
> [sbox-FREMANTLE_X86: ~] > ldd /usr/bin/Calendar
>     libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00e4c000)
>     libgvfscommon.so.0 => /usr/lib/libgvfscommon.so.0 (0x00c87000)
>     libc.so.6 => /lib/libc.so.6 (0x00715000)
>     libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00449000)
>     libpthread.so.0 => /lib/libpthread.so.0 (0x00c2b000)
>     libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00110000)
>     libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00ab1000)
>     libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x002fa000)
>     /lib/ld-linux.so.2 (0x0088d000)
>     librt.so.1 => /lib/librt.so.1 (0x00176000)
>     libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00f12000)
>     libdl.so.2 => /lib/libdl.so.2 (0x0017e000)
>
>
> I wonder where is "libhildon-1.so.0 => /usr/lib/libhildon-1.so.0
> (0x00938000)" ?

Try ldd /usr/bin/Calendar.launch, which is the real binary.

> And this libhildon entry is really there after I issued "ldd a.out" on my
> hilldon application.
>
> My hildon application's source code is attached.
>
> Anybody knows why?

/usr/bin/Calendar links to maemo-invoker, which is a part of maemo-launcher.
It keeps a pre-initialized GTK+ ready and then dynamically loads the
main binary, in order to decrease startup times.

See http://maemo.gitorious.org/maemo-af/maemo-launcher/blobs/master/README
for details.

regards
Philipp
More information about the maemo-developers mailing list