I'm attempting to run Inkscape 0.48.4-15 (armv7) which is installed via pacman from Arch Linux ARM. $ inkscapeinkscape: error while loading shared libraries: libMagick++-6.Q16HDRI.so.3: cannot open shared object file: No such file or directoryAs expected, the shared object is not available in /usr/lib:$ ll /usr/lib | grep libMagick+lrwxrwxrwx   1 root root       30 Jun  5 03:04 libMagick++-6.Q16HDRI.so ->     libMagick++-6.Q16HDRI.so.4.0.0lrwxrwxrwx   1 root root       30 Jun  5 03:04 libMagick++-6.Q16HDRI.so.4 -> libMagick++-6.Q16HDRI.so.4.0.0-rwxr-xr-x   1 root root   379428 Jun  5 03:06 libMagick++-6.Q16HDRI.so.4.0.0So I make a symbolic link linking *.so.3 to *.so.4.0.0:$ sudo ln -s libMagick++-6.Q16HDRI.so.4.0.0 libMagick++-6.Q16HD.so.3lrwxrwxrwx   1 root root       30 Jun  5 03:04 libMagick++-6.Q16HDRI.so -> libMagick++-6.Q16HDRI.so.4.0.0lrwxrwxrwx   1 root root       30 Jun  6 15:15 libMagick++-6.Q16HDRI.so.3 -> libMagick++-6.Q16HDRI.so.4.0.0lrwxrwxrwx   1 root root       30 Jun  5 03:04 libMagick++-6.Q16HDRI.so.4 -> libMagick++-6.Q16HDRI.so.4.0.0-rwxr-xr-x   1 root root   379428 Jun  5 03:06 libMagick++-6.Q16HDRI.so.4.0.0and verify that *.so.3 is indeed linked to *.so.4.0.0.$ readlink -f libMagick++-6.Q16HDRI.so.3/usr/lib/libMagick++-6.Q16HDRI.so.4.0.0Now I reconfigure the dynamic linker run time bindings and rerun Inkscape:$ sudo ldconfig $ ldd $(which inkscape) | grep libMagick++libMagick++-6.Q16HDRI.so.3 => /usr/lib/libMagick++-6.Q16HDRI.so.3 (0x75cf9000)Why is *.so.3 linking to itself and not following the symbolic link created earlier?
ldconfig not following user-created symbolic link
symlink;dynamic linking
Ldd not following symlinks. It show only path, where it find library. ldd - diagnostic instrument and if it follow symlinks that impede diagnostic.