undefined symbol: gdk_gl_context_destroy

Bug #1069337 reported by Peter Clifton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtkglext (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When running one of my applications which uses the gtkglext, I get this error:

pcb: symbol lookup error: /usr/lib/libgtkglext-x11-1.0.so.0: undefined symbol: gdk_gl_context_destroy

Closer examination suggests that the gtkglext sources are broken in Quantal (at least). I was able to fix this with a simple patch:

--- gtkglext-1.2.0.orig/gtk/gtkglwidget.c
+++ gtkglext-1.2.0/gtk/gtkglwidget.c
@@ -146,7 +146,7 @@ gtk_gl_widget_unrealize (GtkWidget

   if (private->glcontext != NULL)
     {
- gdk_gl_context_destroy (private->glcontext);
+ g_object_unref (private->glcontext);
       private->glcontext = NULL;
     }

(This was based upon looking at the upstream sources).

I've not checked whether there are any other problems with gtkglext, as it would appear that something inconsistent has happened in the sources Ubuntu is building from.

FWIW, the upstream commit which relates to this is:

 commit cb3316e91604a97bb195eac563cc7e218f56e421
Author: Mukund Sivaraman <email address hidden>
Date: Mon Jul 19 15:33:30 2010 +0530

    Remove gdk_gl_context_destroy()

    Use g_object_unref() on the object instead.

Revision history for this message
Peter Clifton (pcjc2) wrote :

Sorry for the noise.. looks like I had a later version of the GDK part of this library installed in /usr/local, after the upstream removed that symbol.

Will close as invalid.

Changed in gtkglext (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.