Bug 458893 - Missing g_dgettext symbol
Summary: Missing g_dgettext symbol
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-12 23:38 UTC by Bastien Nocera
Modified: 2008-08-13 04:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-13 04:12:00 UTC
Type: ---


Attachments (Terms of Use)

Description Bastien Nocera 2008-08-12 23:38:54 UTC
glib2-2.17.6-1.fc10.x86_64
glib2-2.17.6-1.fc10.i386
glib2-devel-2.17.6-1.fc10.x86_64

Launching a home-built totem:
$ ./totem

** (lt-totem:5747): WARNING **: plugins/properties/.libs/libmovie-properties.so: undefined symbol: g_dgettext

** (lt-totem:5747): WARNING **: Could not load plugin movie-properties

And that for every C plugin built that has translations.

The function seems to only be available in a private version?
$ nm /usr/lib64/libglib-2.0.so.0.1506.0  | grep gettext
0000003e9b252240 t IA__g_dpgettext
0000003e9b2637d0 t IA__glib_gettext
0000003e9b4d4a60 b _glib_gettext_initialized.11340
                 U dcgettext@@GLIBC_2.2.5
                 U dcngettext@@GLIBC_2.2.5
0000003e9b2402e0 t dgettext_swapped
0000003e9b252240 T g_dpgettext
0000003e9b2637d0 T glib_gettext

The function still exists in the headers
$ grep -r g_dgettext /usr/include/glib-2.0/
/usr/include/glib-2.0/glib/gstrfuncs.h:G_CONST_RETURN gchar *g_dgettext       (const gchar *domain,
/usr/include/glib-2.0/glib/gi18n-lib.h:#define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

Comment 1 Matthias Clasen 2008-08-13 04:12:00 UTC
Well, /usr/lib/libglib-2.0.so.0.1506.0 doesn't belong to glib-2.17.6-1.
Try looking in /lib


Note You need to log in before you can comment on or make changes to this bug.