[maemo-developers] [maemo-developers] custom gstreamer plugins

From: Jean-Baptiste Note jean-baptiste.note at m4x.org
Date: Sat Jul 29 01:40:27 EEST 2006
Hello,

To be a bit more precise, a plugin won't load if it has unresolved
symbols/libraries at load time. This is something that bites badly when
developping custom plugins.

You may know which libraries are needed (and the missing ones should be
clearly outlined) by running "ldd" on the .so file of your plugin.

For instance on an (x86) debian system:

ldd /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
        linux-gate.so.1 =>  (0xffffe000)
        libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0
(0xb7e9b000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
(0xb7e60000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0xb7e5c000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7e3d000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7e39000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7d20000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d0b000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7ce5000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7c5d000)
        libmpeg2.so.0 => /usr/lib/libmpeg2.so.0 (0xb7c3f000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7c2d000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7af5000)
        /lib/ld-linux.so.2 (0x80000000)

Now, ldd must be available on the N770, of course :)

JB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060729/5f5db070/attachment.pgp 
More information about the maemo-developers mailing list