Bug 458893

Summary: Missing g_dgettext symbol
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-13 04:12:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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