LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Libmagick in 12.1/current (https://www.linuxquestions.org/questions/slackware-14/libmagick-in-12-1-current-690245/)

dive 12-12-2008 11:05 PM

Libmagick in 12.1/current
 
I just upgraded to 12.2 and found that qbittorrent needs libMagick++.so.10.

The strange thing is, if you search for the name libmagick in the package browser the recent versions - 6.4.3_10 - are numbered 1.0.0 while the older libs from 12.1 are 10.0.9. - for version 6.3.7_10.

Anyone want to shed light on this? I can recompile qbittorrent I expect, but I thought I'd bring this to peoples attention.

Franklin 12-14-2008 11:23 AM

I'm seeing the same thing. I can build transcode 1.0.7 on Slackware-12.1.
However, if I use the same slackbuild script on 12.2 it craps out with the following error during the config:

Code:

ERROR: option '--enable-imagemagick' failed: cannot link against libMagick
libMagick can be found in the following packages:
  Wand  http://www.imagemagick.org/



Clearly at least one reason transcode has not yet been added to the 12.2 repo at Slackbuilds.org.

Comparing the contents of /usr/lib between releases shows what I think you are talking about:

in 12.2:
Code:

root@sundog:/usr/lib# ls -la libMagick*
-rwxr-xr-x 1 root root    1790 2008-10-05 16:36 libMagick++.la*
lrwxrwxrwx 1 root root      20 2008-12-09 16:35 libMagick++.so -> libMagick++.so.1.0.0*
lrwxrwxrwx 1 root root      20 2008-12-09 16:35 libMagick++.so.1 -> libMagick++.so.1.0.0*
-rwxr-xr-x 1 root root  465480 2008-10-05 16:36 libMagick++.so.1.0.0*
-rwxr-xr-x 1 root root    1658 2008-10-05 16:36 libMagickCore.la*
lrwxrwxrwx 1 root root      22 2008-12-09 16:35 libMagickCore.so -> libMagickCore.so.1.0.0*
lrwxrwxrwx 1 root root      22 2008-12-09 16:35 libMagickCore.so.1 -> libMagickCore.so.1.0.0*
-rwxr-xr-x 1 root root 3778816 2008-10-05 16:36 libMagickCore.so.1.0.0*
-rwxr-xr-x 1 root root    1684 2008-10-05 16:36 libMagickWand.la*
lrwxrwxrwx 1 root root      22 2008-12-09 16:35 libMagickWand.so -> libMagickWand.so.1.0.0*
lrwxrwxrwx 1 root root      22 2008-12-09 16:35 libMagickWand.so.1 -> libMagickWand.so.1.0.0*
-rwxr-xr-x 1 root root 1086360 2008-10-05 16:36 libMagickWand.so.1.0.0*

and in 12.1:
Code:

root@sundog:/mnt/slack-12.1/usr/lib# ls -la libMagick*
-rwxr-xr-x 1 root root    1405 2008-02-29 00:30 libMagick++.la*
lrwxrwxrwx 1 root root      21 2008-08-09 13:27 libMagick++.so -> libMagick++.so.10.0.9*
lrwxrwxrwx 1 root root      21 2008-08-09 13:27 libMagick++.so.10 -> libMagick++.so.10.0.9*
-rwxr-xr-x 1 root root  460832 2008-02-29 00:30 libMagick++.so.10.0.9*
-rwxr-xr-x 1 root root    1283 2008-02-29 00:30 libMagick.la*
lrwxrwxrwx 1 root root      19 2008-08-09 13:27 libMagick.so -> libMagick.so.10.0.9*
lrwxrwxrwx 1 root root      19 2008-08-09 13:27 libMagick.so.10 -> libMagick.so.10.0.9*
-rwxr-xr-x 1 root root 1976656 2008-02-29 00:30 libMagick.so.10.0.9*
root@sundog:/mnt/slack-12.1/usr/lib#

Just confirming your observation.

Franklin 12-14-2008 12:32 PM

Creating the following symlinks in /usr/lib allows transcode-1.0.7 to build on Slackware-12.2:

Code:

libMagick.la -> libMagickCore.la*
libMagick.so -> libMagickCore.so.1.0.0*
libMagick.so.1 -> libMagickCore.so.1.0.0*

Don't know if this breaks anything else or if I also need to create symlinks for libWand as well.
Of course removing --enable-imagemagick from the buildscript would work as well, but that wasn't the point of the exercise.


All times are GMT -5. The time now is 10:16 PM.