You are not logged in.

#1 2010-07-02 17:09:14

Dagon
Member
Registered: 2010-07-02
Posts: 3

Apps lost their libraries after upgrade

After many upgrades at least one application losts its library. Example got after yesterday upgrade:

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

$ locate libMagick++
/usr/lib/libMagick++.so
/usr/lib/libMagick++.so.4
/usr/lib/libMagick++.so.4.0.0

To solve this:
$ cd /usr/lib/
# ln -s libMagick++.so libMagick++.so.3

Same for "libMagickWand.so.3" needed by "obex-data-server".

What can we do to prevent such situations?

Offline

#2 2010-07-02 17:17:22

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Apps lost their libraries after upgrade

Sure your system is completely updated? Do you have this imagemagick version from the repos?

pacman -Qo /usr/lib/libMagick++.so.3
/usr/lib/libMagick++.so.3 is owned by imagemagick 6.6.2.0-22

pacman -Qo /usr/lib/libMagickWand.so.3
/usr/lib/libMagickWand.so.3 is owned by imagemagick 6.6.2.0-22

Last edited by hokasch (2010-07-02 17:20:07)

Offline

#3 2010-07-02 17:20:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Apps lost their libraries after upgrade

You're using the testing repo, so you should be prepared for this kind of temporary breakage. libMagick++.so.4 is provided by imagemagick 6.6.2.10-1 from the testing repo - libMagick++.so.3 is provided by imagemagick 6.6.2.0-22 from the extra repo. inkscape and obex-data-server from extra have not yet been rebuilt against the new imagemagick release.

Polluting your system with symlinks works, but it should only be used as a short-term fix.

If you don't want to deal with these issues, don't use testing. OTOH, if you want to continue using testing, read the arch-dev-public mailing list so you are prepared.

Offline

#4 2010-07-05 16:56:38

Dagon
Member
Registered: 2010-07-02
Posts: 3

Re: Apps lost their libraries after upgrade

Queries:

pacman -Qo /usr/lib/libMagick++.so.3
pacman -Qo /usr/lib/libMagickWand.so.3

returned that no package owns these libraries. The imagemagick version is:

pacman -Ss imagemagick
extra/imagemagick 6.6.2.10-1 [installed]
    An image viewing/manipulation program
extra/imagemagick-doc 6.6.2.0-1
    The ImageMagick documentation (utilities manuals and libraries API)

Configuration options in /etc/pacman.conf does not allows testing neither testing-community repositories:

#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

Some packages have been installed from aur using pak, but not imagemagick:

pak imagemagick
1 extra/imagemagick-doc 6.6.2.0-1
    The ImageMagick documentation (utilities manuals and libraries API)
2 extra/imagemagick 6.6.2.10-1 [installed]
    An image viewing/manipulation program
3 aur/imagemagick-fftw 6.6.2.9-3
    An image viewing/manipulation program, with Fourier transform processing
4 aur/imagemagick-nox 6.6.2.7-1 (out of date)
    An image viewing/manipulation program, without X dependencies
5 aur/php-magickwand 1.0.8-1
    ImageMagick MagickWand API support for PHP
6 aur/pythonmagick 0.9.1-1
    ImageMagick for Python
7 aur/ruby-rmagick 2.13.1-1
    RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries
8 aur/ruby-rmagick2 2.13.1-1
    Interface between the Ruby programming language and the ImageMagick

I'm using pacman and pak to install packages so I was sure I do not install from testing repos with "pacman.conf" settings as above.

Offline

#5 2010-07-05 17:22:20

Dagon
Member
Registered: 2010-07-02
Posts: 3

Re: Apps lost their libraries after upgrade

OK, I've found it: some time ago mirrors from my country were temporarily unavailable, so I switched to first nearest from default list:
# Bulgaria
# Server = http://archlinux.igor.onlinedirect.bg/$repo/os/i686
After switching back to original mirrors pacman offers "imagemagick 6.6.2.0-22" as default version again.

Thank you for pointing me in the right direction!

Offline

Board footer

Powered by FluxBB