Administration > ImageMagick for PTC FlexPLM > Installing and Configuring the Runtime Environment > HP-UX Platform
  
HP-UX Platform
1. Download the binaries for ImageMagick and Ghostscript from the HP-UX open source website. The site includes installation instructions and all dependencies needed for these binaries. To find each particular installation, use the search function.
2. To ensure proper execution and performance of ImageMagick and Ghostscript, add the following settings of the environment variables into your profile resource file:
setenv MAGICK_HOME /usr/local
setenv SHLIB_PATH
usr/lib:{$MAGICK_HOME}/lib:{$SHLIB_PATH}
set path=($MAGICK_HOME/bin $path)
3. To display the list of supported file types that ImageMagick can support, enter the following command: /usr/local/bin/identify -list format
If the list displayed is empty, then an environment setting is not correct. Verify that the MAGICK_HOME setting is /usr/local and verify that you made no typographic errors during the installation for any environment variables.
4. To verify that ImageMagick is working properly, type the following on the command line:
convert logo: logo.gif
identify logo.gif
display logo.gif
* 
For HP-UX 11.23 ia64 (Itanium 64-bit), environment variables are not set in a resource file, but as a system property of FlexPLM:
com.lcs.wc.document.imageGeneration.ImageMagickEnv=MAGICK_HOME=/usr/local,
LD_LIBRARY_PATH=/usr/local/lib/hpux32:/usr/lib/hpux32,PATH=/usr/local/bin
or
com.lcs.wc.document.imageGeneration.ImageMagickEnv=MAGICK_HOME=/usr/local,
SHLIB_PATH=/usr/local/lib/hpux32:/usr/lib/hpux32,PATH=/usr/local/bin
When using ImageMagick-6.5.4/Ghostscript on HP-UX for TIFF format files, you might see an error when converting TIFF images: "Seek error accessing TIFF directory. `TIFFReadDirectory' @ tiff.c/TIFFErrors/323." This is a known issue on the HP-UX platform.