[SOLVED] Gtk applications problem
I have a problem with gtk applications.
I use a gentoo box and not long ago I wanted to update to gnome 2.16. After that all kind of errors came up. Almost any gtk application that I emerge (compile and install) I get this in the compilation process: undefined symbol: g_type_register_static_simple for example compiling gtk-2.10.4: Code:
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.10.4/work/gtk+-2.10.4/gtk' Code:
gaim: symbol lookup error: /usr/lib/libgstreamer-0.10.so.0: undefined symbol: g_type_register_static_simple |
This may help;
http://www.gentoo.org/doc/en/gcc-upgrading.xml |
I can't really find the solution to this problem ...
I already rebuilt my whole system and still cannot install the newest gtk or gnome packages because of this error. |
g_type_register_static_simple() is from gobject library, which is part of glib package, so most likely that package is broken in some way.
Things to check:
|
Code:
# pkg-config glib-2.0 --modversion Code:
# locate libgobject Code:
# ldd /usr/lib/libgstreamer-0.10.so.0 | grep gobject Code:
# strings /usr/lib/libgobject-2.0.so.0 | grep g_type_register_static_simple Ok so I see the portage system installs glib in /usr/lib and the applications use /usr/local/lib when searching for that library how can I change that besides creating some symlinks? |
Ok I deleted all my libs in /usr/local/lib as they werent necessary and I had them installed by portage in /usr/lib too (and some were old versions).
Thank you Harmaa Kettu it's nice to learn new things from more experienced users. |
All times are GMT -5. The time now is 10:38 AM. |