Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


jianchun.zhou at gmail

Feb 3, 2010, 2:57 AM

Post #1 of 4 (661 views)
Permalink
Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ?

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)" ?

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?

--
Best Regards
Attachments: hello.c (0.66 KB)


davidk at openismus

Feb 3, 2010, 3:14 AM

Post #2 of 4 (633 views)
Permalink
Re: Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ? [In reply to]

On 2010-02-03 18:57, Jianchun Zhou <jianchun.zhou [at] gmail> 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)" ?

It seems that /usr/bin/Calendar.launch links to Hildon, and
/usr/bin/Calendar is just a launcher 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?

Well, I guess that your applications links to Hildon, whereas
/usr/bin/Calendar does not.

--
David King | http://amigadave.com/ | davidk [at] openismus
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


philipp.zabel at gmail

Feb 3, 2010, 3:22 AM

Post #3 of 4 (637 views)
Permalink
Re: Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ? [In reply to]

On Wed, Feb 3, 2010 at 11:57 AM, Jianchun Zhou <jianchun.zhou [at] gmail> 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
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


jianchun.zhou at gmail

Feb 3, 2010, 3:26 AM

Post #4 of 4 (628 views)
Permalink
Re: Where is libhildon.so entry when issuing "ldd /usr/bin/Calendar" ? [In reply to]

Thanks a million. I am satisfied with these replies.

On Wed, Feb 3, 2010 at 7:22 PM, pHilipp Zabel <philipp.zabel [at] gmail>wrote:

> On Wed, Feb 3, 2010 at 11:57 AM, Jianchun Zhou <jianchun.zhou [at] gmail>
> 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
>



--
Best Regards

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.