inkscape: error while loading shared libraries: libMagick++.so.1: cannot open shared object file: No such file or directory

Asked by tobiwan on 2009-11-29

When starting inkscape from the GUI I get a "Inkscape starting" in the taskbar, which disappears after a few seconds. when starting via terminal I get

inkscape: error while loading shared libraries: libMagick++.so.1: cannot open shared object file: No such file or directory

I already tried to reinstall the libmagick package but could only find in synaptic libmagick++2 (did it anyway but did not help)

I also tried to reinstall inkscape, after removing it. Is it correct, that I get Version 0.47pre (Using Ubuntu 9.10 ?)

Additional info: yesterday I got a message that my java is broken, so i installed it again. Maybe there are more things corrupted?
also, since then my external keyboard is kind of sluggish, and stops working from time to time altogether (unplugging and replugging helps though)

Any Ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2009-11-30
Last query:
2009-11-30
Last reply:
2009-11-30

Can you give the output of:

cd /; sudo find . -iname "libMagick++.so.*"

Thanks

tobiwan (tobias-opialla) said : #2

~$ cd /; sudo find . -iname "libMagick++.so.*"
[sudo] password for tobiwan:
./usr/lib/libMagick++.so.2.0.0
./usr/lib/libMagick++.so.2
/$

ok here's the fix:

cd /usr/lib; sudo ln -s ./libMagick++.so.2 ./libMagick++.so.1

then rerun the app.

tobiwan (tobias-opialla) said : #4

now I got:

inkscape: error while loading shared libraries: libMagickCore.so.1: cannot open shared object file: No such file or directory

and:

~$ cd /; sudo find . -iname "libMagickCore.so.*"
./usr/lib/libMagickCore.so.2.0.0
./usr/lib/libMagickCore.so.2

and I did:

cd /usr/lib; sudo ln -s ./libMagickCore.so.2 ./libMagickCore.so.1

then I got:

/usr/lib$ inkscape
inkscape: error while loading shared libraries: libpoppler.so.4: cannot open shared object file: No such file or directory

and
/$ cd /; sudo find . -iname "libpoppler.so.*"
./usr/lib/libpoppler.so.5.0.0
./usr/lib/debug/usr/lib/libpoppler.so.5.0.0
./usr/lib/libpoppler.so.5

so I did:
cd /usr/lib/; sudo ln -s ./libpoppler.so.5 ./libpoppler.so.4

and now it works!!!

tobiwan (tobias-opialla) said : #5

Thanks actionparsnip, that solved my question.

tobiwan (tobias-opialla) said : #6

the second question I asked and already the second you helped me with! Thanks a lot!

Np man, thats one of the uses of symbolic links ;)