On Thu, Nov 27, 2008 at 17:09, Lisha Sterling <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have one Midinux based device that, when I try to run my app gives an
> error
>
> symbol lookup error: /usr/lib/libglibmm-2.4.so.1: undefined
> symbol: g_regex_error_quark
>
>
> Now, usually this error comes from not having glibmm24 installed. But I
> do. Not only that, but this same application with the exact same
> packages for glibmm and the app run on another device. I can't figure
> out what the difference between these two is. I've seen a couple of
> questions about this on forums, but haven't found any answers.
>
> Anyone seen this before or know what might have happened?


Check the symbol definition in the library:

$ nm -D /usr/lib/libglibmm-2.4.so.1 | grep g_regex_error_quark
         U g_regex_error_quark

It is "U" i.e. undefined meaning the function actually comes from some
dependent library.  According to the name libglib is a good candidate,
but you can see all dependencies by running:

$ ldd /usr/lib/libglibmm-2.4.so.1
        linux-gate.so.1 =>  (0xb7fad000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7f38000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7efa000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7ef4000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e3d000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d4e000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d28000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bca000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7bbb000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7bb6000)
        libpcre.so.3 => /lib/libpcre.so.3 (0xb7b8c000)
        /lib/ld-linux.so.2 (0xb7fae000)

Glib defines this symbol, it is located in "T" text (code) section:

$ nm -D /usr/lib/libglib-2.0.so.0 | grep g_regex_error_quark
0004df90 T g_regex_error_quark

The doc says it was introduced in glib version 2.14
http://library.gnome.org/devel/glib/stable/glib-Perl-compatible-regular-expressions.html

Maybe you have older version installed?

--
Tero

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to