inkscape fails to start in debian squeeze - libgiomm related

Asked by vlad seghete

I recently switched from Debian lenny (stable) to squeeze (testing). Now inkscape will not start, it spits out this:

inkscape: symbol lookup error: /usr/lib/libgiomm-2.4.so.1: undefined symbol: g_file_io_stream_get_type

The library is not missing, I checked. Also, I installed everything using apt-get, so dependencies *should* have been taken care of. I have no idea where to start fixing this. I think it has something to do with glib, although I don't know how. Can anyone help, or is this a problem with the debian repositories?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
vlad seghete
Solved:
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

<http://communities.vmware.com/thread/226941> and other sites I found when google'ing your error message suggest to downgrade to glibmm2 (2.18.1).

Revision history for this message
Bruno Menegola (menegola) said :
#2

After more than a month later, I finally got something! vlad seghete, you were right: it was a glib related problem; and unfortunately for everybody, some dependency didn't took care of all files (and I don't know why either).

In my Kubuntu 9.10, I had these files at /usr/local/lib :

/usr/local/lib/libgio-2.0.so -> libgio-2.0.so.0.1911.0
/usr/local/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.1911.0
/usr/local/lib/libgio-2.0.so.0.1911.0
/usr/local/lib/libglib-2.0.so -> libglib-2.0.so.0.1911.0
/usr/local/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.1911.0
/usr/local/lib/libglib-2.0.so.0.1911.0
/usr/local/lib/libgmodule-2.0.so -> libgmodule-2.0.so.0.1911.0
/usr/local/lib/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.1911.0
/usr/local/lib/libgmodule-2.0.so.0.1911.0
/usr/local/lib/libgobject-2.0.la
/usr/local/lib/libgobject-2.0.so -> libgobject-2.0.so.0.1911.0
/usr/local/lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.1911.0
/usr/local/lib/libgobject-2.0.so.0.1911.0
/usr/local/lib/libgthread-2.0.so -> libgthread-2.0.so.0.1911.0
/usr/local/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.1911.0
/usr/local/lib/libgthread-2.0.so.0.1911.0

And practically the same, *but with different and more versions*, at /usr/lib :

/usr/lib/libgio-2.0.a
/usr/lib/libgio-2.0.la
/usr/lib/libgio-2.0.so -> libgio-2.0.so.0.2200.2
/usr/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.2200.2
/usr/lib/libgio-2.0.so.0.2200.2
/usr/lib/libglib-2.0.a
/usr/lib/libglib-2.0.la
/usr/lib/libglib-2.0.so -> /lib/libglib-2.0.so.0
/usr/lib/libgmodule-2.0.a
/usr/lib/libgmodule-2.0.la
/usr/lib/libgmodule-2.0.so -> libgmodule-2.0.so.0.2200.2
/usr/lib/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.2200.2
/usr/lib/libgmodule-2.0.so.0.2200.2
/usr/lib/libgobject-2.0.a
/usr/lib/libgobject-2.0.la
/usr/lib/libgobject-2.0.so -> libgobject-2.0.so.0.2200.2
/usr/lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.2200.2
/usr/lib/libgobject-2.0.so.0.2200.2
/usr/lib/libgthread-2.0.a
/usr/lib/libgthread-2.0.la
/usr/lib/libgthread-2.0.so -> libgthread-2.0.so.0.2200.2
/usr/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.2200.2
/usr/lib/libgthread-2.0.so.0.2200.2

With this and based on [1], I removed the files from /usr/local/lib listed above. This solved my problems with Inkscape, VMWare and Emesene (only tested these). The glibmm2 is in the latest version (2.22.1) and I believe that the update manager will not bother me anymore \o/

Cheers

[1] http://www.linuxquestions.org/questions/showthread.php?p=2247827#post2247827

Revision history for this message
vlad seghete (vloodo) said :
#3

Yes, that was the issue on my system as well. I never would have thought to check in /usr/local/lib since the error was about /usr/lib. Removing the libraries from /usr/local/lib did the trick. I can't remember using them for anything (or why I put them there in the first place). If it turns out I *do* need them (at that old version) I'll have to come back to this and figure a new way around the problem, but at least I'll have some clues as to where to start. Thank you!