LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   glade 3.18.2 on slackware 14.1: "undefined symbol: g_type_add_instance_private" (https://www.linuxquestions.org/questions/slackware-14/glade-3-18-2-on-slackware-14-1-undefined-symbol-g_type_add_instance_private-4175508019/)

slacksam 06-14-2014 04:19 AM

glade 3.18.2 on slackware 14.1: "undefined symbol: g_type_add_instance_private"
 
Hi,
some time ago I managed to install glade 3.18.2 on Slackware 14.1 (see also py3cairo slackbuild fails and pygobject3 slackbuild fails) but since then I haven't used it, yet.
But when I start glade from a terminal window, it throws me this error message:
Quote:

glade: symbol lookup error: glade: undefined symbol: g_type_add_instance_private
and exits.

What's the reason for this error and how can I fix it?

willysr 06-14-2014 05:40 AM

I think that version of glade requires newer glib2 than what we have in Slackware 14.1
See here: http://upstream-tracker.org/compat_r...at_report.html

my suggestion is to downgrade to glade 3.8.3

slacksam 06-14-2014 06:36 AM

Thanks for your reply, willysr.

Now I upgraded glib2 from version 2.36.4 to version 2.38.2 and the error message has changed to
Quote:

glade: symbol lookup error: glade: undefined symbol: gtk_widget_class_set_template_from_resource
When upgrading to version 2.40.0, the error message is the same.

Glade 3.8.3 seems to work fine, but I'd also like to use a more current version.

willysr 06-14-2014 06:44 AM

You will need to upgrade to GTK+3-3.10 or newer to fix that problem
https://developer.gnome.org/gtk3/sta...ndex-3-10.html

However, upgrading glib/gtk+3 may require you to rebuild/patch other applications depending on both libraries

slacksam 06-14-2014 07:33 AM

Now I upgraded gtk+3 from version 3.8.2 to 3.13.1 and the error message now is:
Quote:

(glade:10158): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2597:41: Expected a valid selector

(glade:10158): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'startup-mode'
Trace/breakpoint trap
:(

Glade 3.8.3 still seems to work fine.

willysr 06-14-2014 09:14 AM

you have to upgrade other GTK+ related libraries as well such as pango, gdk-pixbuf, atk, gobject-introspection, and many more....
that's why it's recommended to stick with the one supplied with Slackware

See this : http://www.gtk.org/download/linux.php


All times are GMT -5. The time now is 06:56 PM.