undefined symbol: gdk_gl_context_destroy
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/
Closer examination suggests that the gtkglext sources are broken in Quantal (at least). I was able to fix this with a simple patch:
--- gtkglext-
+++ gtkglext-
@@ -146,7 +146,7 @@ gtk_gl_
if (private->glcontext != NULL)
{
- gdk_gl_
+ g_object_unref (private-
}
(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 cb3316e91604a97
Author: Mukund Sivaraman <email address hidden>
Date: Mon Jul 19 15:33:30 2010 +0530
Remove gdk_gl_
Use g_object_unref() on the object instead.
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.