[maemo-developers] [maemo-developers] Missing library in the 2006 beta version?

From: Antonio Gomes tonikitoo at gmail.com
Date: Wed Jul 5 20:46:35 EEST 2006
On 7/4/06, Eero Tamminen <eero.tamminen at movial.fi> wrote:
Hi eero,

Hi,
>
> > Nokia770-26:/usr/lib/app-test# ./app
> > ./app: error while loading shared libraries: libXt.so.6
> > ./app: error while loading shared libraries: libSM.so.6
> > ./app: error while loading shared libraries: libICE.so.6
>
> Most likely this is Autotools issue.  At least older autoconf
> checked the existence of X libraries by checking for libXt
> and it added that also to the linker line.
>
> However, none of the modern (Gtk, Qt) UI toolkits use libXt
> nor require it.  Only something obsolete like Motif needs it.
> Does your program really use/require libXt?


I think so,

$ ldd minimo:
        linux-gate.so.1 =>  (0xffffe000)
        libplds4.so => /usr/lib/libplds4.so (0xb7f08000)
        libplc4.so => /usr/lib/libplc4.so (0xb7f03000)
        libnspr4.so => /usr/lib/libnspr4.so (0xb7ed0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7e7d000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e79000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d9e000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb7d8b000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d26000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d17000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7d0f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7ce1000)
        libsmime3.so => /usr/lib/libsmime3.so (0xb7cbd000)
        libssl3.so => /usr/lib/libssl3.so (0xb7c93000)
        libnss3.so => /usr/lib/libnss3.so (0xb7c22000)
        libsoftokn3.so => /usr/lib/libsoftokn3.so (0xb7bd1000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7b7f000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb788b000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb780e000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb77f3000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0(0xb77de000)
        libm.so.6 => /lib/libm.so.6 (0xb77bb000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb77b4000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb77a9000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7772000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7737000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7733000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb76b1000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb7696000)
        libdbus-1.so.2 => /usr/lib/libdbus-1.so.2 (0xb7667000)
        libosso.so.1 => /usr/lib/libosso.so.1 (0xb765d000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb760d000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb75ef000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb75eb000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb751b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7513000)
        libc.so.6 => /lib/libc.so.6 (0xb73f4000)
        /lib/ld-linux.so.2 (0xb7f13000)
        libXau.so.0 => /usr/lib/libXau.so.0 (0xb73f0000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb73d0000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb73c8000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb73af000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb73a7000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7398000)
        libXfixes.so.0 => /usr/lib/libXfixes.so.0 (0xb7393000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb738a000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7364000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb734f000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb724e000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb723c000)
        librt.so.1 => /lib/librt.so.1 (0xb7228000)


btw the application I am porting (minimo/mozilla) uses gtk as backend for
rendering but its graphical user interface is built on top of XUL toolkit .

The libSM and libICE are libXt dependencies.


I am just wordering why are these libraries available on devel rootstrap (so
it makes possible your app to depend on them) but not on the device image ?

regards


-- 
--Antonio Gomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060705/b9930211/attachment.htm 
More information about the maemo-developers mailing list