Lasso Soft Inc. > Home

  • Articles

Upgrading ImageMagick on CentOS

Lasso Professional 8.6 and Lasso 9 Server for CentOS 5 includes native support for ImageMagick 6.2.8, the latest official package. However, this package does not reflect the newer updates for ImageMagick. Therefore, LassoSoft, Inc. recommends installing ImageMagick 6.6.5 on CentOS 5, along with a new ImageTag module if running Lasso Professional 8.6.

ImageMagick 6.6.5 installation

  • Uninstall ImageMagick-6.2.8 
    rpm -e --nodeps ImageMagick.i386 ImageMagick-devel.i386 ImageMagick.x86_64 ImageMagick-devel.x86_64
     
  • Add the EPEL repository to yum:
    • CentOS 5:
    • rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    • CentOS 6:
    • rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  • Follow these instructions to add the RPMForge repository to yum for CentOS 5 or 6
  • Install dependencies for ImageMagick 6.6
    • For 32-bit systems: 
      yum install djvulibre OpenEXR jasper ghostscript librsvg2 libwmf libtool-ltdl
    • For 64-bit systems: 
      yum install djvulibre OpenEXR.x86_64 jasper ghostscript.x86_64 librsvg2.x86_64 libwmf.x86_64 libtool-ltdl.x86_64
    • Systems running CentOS 6 will need the old version of libtool-ltdl installed:
      (32-bit) rpm -ivh --force http://vault.centos.org/5.11/os/x86_64/CentOS/libtool-ltdl-1.5.22-7.el5_4.i386.rpm
      (64-bit) rpm -ivh --force http://vault.centos.org/5.11/os/x86_64/CentOS/libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm

  • Download and install ImageMagick 6.6.5

ImageTag installation for Lasso Professional 8.6

  • Download and unzip the new ImageTag module
  • Move the new ImageTag.so file into "/usr/local/Lasso Professional 8/LassoModules/"
  • Restart Lasso
sudo lasso8ctl restart

Troubleshooting

If the Image tags do not load run these commands:

cd "/usr/local/Lasso Professional 8/LassoModules/"
ldd ImageTag.so

The output will look something like this:

linux-gate.so.1 =>  (0x00d86000)
libMagickCore.so.4 => /usr/lib/libMagickCore.so.4 (0x005c8000)
libmagic.so.1 => /usr/lib/libmagic.so.1 (0x00599000)

Ensure that any libraries listed as "not found" are installed in the correct location.

 

Copyright 2011 LassoSoft, Inc

Licensed under the ImageMagick License (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.imagemagick.org/script/license.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.

 

Comments

No comments found
You must be logged in to comment.

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft