[oi-dev] libmtsk.so.1 missing in hipster - breaks ImageMagick and GraphicsMagick

Fred Kimball choope1 at yahoo.com
Tue Dec 2 13:43:59 UTC 2014


On Mon, 1 Dec 2014, Udo Grabowski (IMK) wrote:

> libmtsk was a closed part of Opensolaris and wasn't
> replaced when substituting the closed bins.
> You can still install that using the openindiana
> 151a9 repository (minimal install on a separate
> partition) and install the system math package
> (Math & Microtasking), and copy the libmtsk* libraries
> to /lib and symlink into /usr/lib/ (as well as /lib/amd64/
> and /usr/lib/amd64/).

Thanks for your expert advice. An option to consider. . . I have a 151a9 BE and booted into a Hipster BE from the 2014.0.0 branch which still had libmtsk.so.1.

On Monday, December 1, 2014 3:38 AM, Alexander Pyhalov wrote:

> Hello.
> Where does your imagemagick come from? I use Hipster one :
>
> $ pkg info imagemagick
>            Name: image/imagemagick
>        Summary: ImageMagick - Image Manipulation Utilities and Libraries
>    Description: ImageMagick is a software suite to create, edit,
> compose, or
>                  convert images
>        Category: System/Multimedia Libraries
>          State: Installed
>      Publisher: openindiana.org
>        Version: 6.8.3.5 (6.8.3-5)
>          Branch: 2014.0.1.1
> Packaging Date: May 28, 2014 07:31:14 AM
>            Size: 136.94 MB
>            FMRI:
> pkg://openindiana.org/image/imagemagick@6.8.3.5-2014.0.1.1:20140528T073114Z
>
> $ convert -sample 43%x43% burlap.jpg scaled-burlap.jpg
>
> Works successfully.
> $    which convert
> /usr/bin/convert
> $ ldd  /usr/bin/convert
>          libMagickCore-6.Q16.so.1 =>      /usr/lib/libMagickCore-6.Q16.so.1
>          libMagickWand-6.Q16.so.1 =>      /usr/lib/libMagickWand-6.Q16.so.1
>          libc.so.1 =>    /usr/lib/libc.so.1
>          liblcms.so.1 =>  /usr/lib/liblcms.so.1
>          libfreetype.so.6 =>      /usr/lib/libfreetype.so.6
>          libfftw3.so.3 =>        /usr/lib/libfftw3.so.3
>          libXext.so.0 =>  /usr/lib/libXext.so.0
>          libX11.so.4 =>  /usr/lib/libX11.so.4
>          libbz2.so.1 =>  /usr/lib/libbz2.so.1
>          libz.so.1 =>    /usr/lib/libz.so.1
>          libltdl.so.7 =>  /usr/lib/libltdl.so.7
>          libm.so.2 =>    /usr/lib/libm.so.2
>          libpthread.so.1 =>      /usr/lib/libpthread.so.1
>          libsocket.so.1 =>        /usr/lib/libsocket.so.1
>          libgcc_s.so.1 =>        /usr/lib/libgcc_s.so.1
>          libXau.so.6 =>  /usr/lib/libXau.so.6
>          libXdmcp.so.6 =>        /usr/lib/libXdmcp.so.6
>          libnsl.so.1 =>  /usr/lib/libnsl.so.1
>          libmp.so.2 =>    /lib/libmp.so.2
>          libmd.so.1 =>    /lib/libmd.so.1
>          libXevie.so.1 =>        /usr/lib/libXevie.so.1
>          libXss.so.1 =>  /usr/lib/libXss.so.1
>
> (I see no reference to libmtsk.so.1).
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department

SFE.
$ pkg info imagemagick
Name: image/editor/imagemagick
Summary: ImageMagick - Image Manipulation Utilities and Libraries
Category: Graphics
State: Installed
Publisher: sfe
Version: 6.8.5.10
Branch: 0.151.1.8
Packaging Date: October 10, 2013 08:45:06 PM
Size: 33.05 MB
FMRI: pkg://sfe/image/editor/imagemagick@6.8.5.10-0.151.1.8:20131010T204506Z

Name: image/library/g++/imagemagick
Summary: Image Manipulation Libraries
Category: Graphics
State: Installed
Publisher: sfe
Version: 6.7.6.10
Branch: 0.151.1.5
Packaging Date: August  5, 2012 06:44:18 PM
Size: 9.48 MB
FMRI: pkg://sfe/image/library/g++/imagemagick@6.7.6.10-0.151.1.5:20120805T184418Z

I tried a trial uninstall of imagemagick:
$ pfexec pkg uninstall -n image/editor/imagemagick
Creating Plan (Solver setup): /pkg uninstall: Cannot remove 'pkg://sfe/image/editor/imagemagick@6.8.5.10,5.11-0.151.1.8:20131010T204506Z' due to the following packages that depend on it:
pkg://sfe/image/library/g++/imagemagick@6.7.6.10,5.11-0.151.1.5:20120805T184418Z
pkg://sfe/image/editor/inkscape@0.48.2,5.11-0.151.1.5:20120819T074456Z

$ pfexec pkg uninstall -n image/library/g++/imagemagick
Creating Plan (Solver setup): /pkg uninstall: Cannot remove 'pkg://sfe/image/library/g++/imagemagick@6.7.6.10,5.11-0.151.1.5:20120805T184418Z' due to the following packages that depend on it:
pkg://sfe/image/editor/inkscape@0.48.2,5.11-0.151.1.5:20120819T074456Z

$ pfexec pkg uninstall -n inkscape
Packages to remove:  1
Services to change:  2
Create boot environment: No
Create backup boot environment: No

I think I will clone the current BE and then uninstall Inkscape and ImageMagick and install from Hipster.

Thanks for all you do!

On 01/12/2014 16:17, Bob Friesenhahn wrote:

> This library is part of the OpenMP (and likely auto-parallizing)
> implementation used by the Oracle Studio compiler.  GCC provides a
> different OpenMP implementation based on "GOMP".  I understand that
> the 'clang' project is well under way to having its own OpenMP
> implementation.
>
> While it might not fit with Hipster's objectives, compiling the
> problematic software using GCC will allow it to work.

According to http://www.phoronix.com/scan.php?page=news_item&px=MTg0NjQ  Clang 3.6, which is expected to be released in early 2015, may have OpenMP. Intel engineers in Russia have an out-of-tree repository for their patches.

Regards to all,
Fred Kimball




More information about the oi-dev mailing list