Page 1 of 1

USM: ImageMagick requires LCMS [fixed]

Posted: 22 Aug 2014, 03:06
by go2null
ImageMagick requires liblcms2.so and, as I have LibreOffice installed, USM found the file there.
However, LibreOffice has it at /usr/lib/libreoffice4.3/program/liblcms2.so.2 while ImageMagick requires it at /usr/lib/liblcms2.so.

Thus, the correct dependency would have been lcms2-2.4-i486-1.xzm.
(My system has lcms-1.19-i486-2 installed, but that does not provide the required library.)

Alternatively, if the LibreOffice package could add a symlink, that would work as well.

Code: Select all

VERSION:
Porteus-v3.0.1
Kernel: 3.14.15-porteus

Re: USM: ImageMagick requires LCMS

Posted: 22 Aug 2014, 12:03
by Bogomips
Suppose first thing that comes to mind is to use the usm -s library-name. Reverse library search. Find mother package.

Re: USM: ImageMagick requires LCMS

Posted: 22 Aug 2014, 14:32
by brokenman
Thanks go2null. I will add a manual dependency for ImageMagick. USM does not touch the slackware packages (unless converting to modules) so adding a symlink is not an option.

Re: USM: ImageMagick requires LCMS

Posted: 23 Aug 2014, 01:35
by go2null
brokenman wrote: USM does not touch the slackware packages (unless converting to modules) so adding a symlink is not an option.
Understood. How can I contact the Slackware package maintainer? (Not sure how it works in Slackware, I've been mostly a Puppy and Debian ecosystem user. I googled a bit before posting the bug as I wanted to ask upstream, but couldn't find any meaningful leads.)

Re: USM: ImageMagick requires LCMS

Posted: 23 Aug 2014, 02:18
by brokenman
Good question. I am not sure who maintains the main slackware packages. Perhaps it is Pat himself.

Slackbuilds contact is here: http://slackbuilds.org/contact

In any case I doubt the maintainers would want to include a symlink in imagemagick pointing to libreoffice. For Porteus USM I will insert a manual dependency so that imagemagick requires lcms2.

Re: USM: ImageMagick requires LCMS

Posted: 23 Aug 2014, 10:07
by go2null
Thanks.

(I was thinking more of LO adding a link point to /usr/lib so that it can be found by other packages.)

Re: USM: ImageMagick requires LCMS (solved)

Posted: 23 Aug 2014, 19:49
by wread
@go2null

Try this module, lib.cm2.so.o.3 is in /usr/lib as you need!

Good luck! :)

Re: USM: ImageMagick requires LCMS (solved)

Posted: 17 Sep 2014, 17:55
by go2null
Thanks @brokenman - USM v3.1.4 pulls in lcms2 (lcms2-2.4-i486-1.xzm) which creates the required links.

Before installing ImageMagick.

Code: Select all

guest@porteus:~$ ls -l /usr/lib/liblcms*
-rwxr-xr-x 1 root root    784 Jun 20  2012 /usr/lib/liblcms.la*
lrwxrwxrwx 1 root root     17 Aug  3 15:52 /usr/lib/liblcms.so -> liblcms.so.1.0.19*
lrwxrwxrwx 1 root root     17 Aug  3 15:52 /usr/lib/liblcms.so.1 -> liblcms.so.1.0.19*
-rwxr-xr-x 1 root root 222064 Aug  3 15:53 /usr/lib/liblcms.so.1.0.19*
After.

Code: Select all

guest@porteus:~$ ls -l /usr/lib/liblcms*
-rwxr-xr-x 1 root root    784 Jun 20  2012 /usr/lib/liblcms.la*
lrwxrwxrwx 1 root root     17 Aug  3 15:52 /usr/lib/liblcms.so -> liblcms.so.1.0.19*
lrwxrwxrwx 1 root root     17 Aug  3 15:52 /usr/lib/liblcms.so.1 -> liblcms.so.1.0.19*
-rwxr-xr-x 1 root root 222064 Aug  3 15:53 /usr/lib/liblcms.so.1.0.19*
-rwxr-xr-x 1 root root    910 Oct 30  2012 /usr/lib/liblcms2.la*
lrwxrwxrwx 1 root root     17 Sep 17 13:28 /usr/lib/liblcms2.so -> liblcms2.so.2.0.4*
lrwxrwxrwx 1 root root     17 Sep 17 13:28 /usr/lib/liblcms2.so.2 -> liblcms2.so.2.0.4*
-rwxr-xr-x 1 root root 338800 Oct 30  2012 /usr/lib/liblcms2.so.2.0.4*