Bug 12249 - declared and actually needed version of glib2 do not match
Summary: declared and actually needed version of glib2 do not match
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-01 06:56 UTC by Guillaume D.
Modified: 2008-02-21 10:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume D. 2007-09-01 06:56:37 UTC
configure.in says "glib-2.0 >= 2.3.2" but `make` gives:
gcc -I/sw/include/libxml2 -I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include   -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings   -o update-mime-database update_mime_database-update-mime-database.o -L/sw/lib -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl  
/usr/bin/ld: Undefined symbols:
_g_debug
_g_log_set_default_handler

Both are only available from 2.6, see http://www.gtk.org/api/2.6/glib/glib-Message-Logging.html

As a workaround, replacing "g_debug (" with "g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG," and commenting the call to "g_log_set_default_handler" works for me.
Comment 1 Bastien Nocera 2008-02-21 10:01:31 UTC
I updated the requirements to 2.6.0 (which was released 4 years ago...).

* configure.in: Update deps to glib 2.6.0, spotted by
Guillaume D. <guillaumed@users.sf.net> (Closes: #12249)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.