Bug #885

check the version of GLib

Added by Dongdong over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:2016-04-07
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next bugfix release
Affected version:5.2-svn Platform:


The function `g_thread_new` called by `grdfilter.c` is provided by GLib. This function is new since 2.32 (https://developer.gnome.org/glib/stable/glib-Threads.html#g-thread-new).

The GLib provided by CentOS 6.7 is v2.28, which doesn't have the function `g_thread_new`. When the GMT_USE_THREADS is set to be TRUE, the configuration script finds the GLib v2.28, and does NOT report errors about GLib, then the installation failed due to the undefined reference to `g_thread_new`.

Maybe it is better to check the version of GLIB. If the version of GLib is older than 2.32, just disable the gthreads support even if the GMT_USE_THREADS set to be TRUE.


#1 Updated by Remko over 5 years ago

  • Status changed from New to Resolved

This should be addressed now in r16155 and r16156.

#2 Updated by Joaquim over 5 years ago

Just a small comment. I did this more than 2 years ago on Windows and Centos still didn't catch up with the Glib version!!!!!
A bugging report to them wouldn't be completely unappropriated too.

#3 Updated by Joaquim over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF