Page 1 of 1

ImageMagick Unable To Find libtiff.a

Posted: 2008-04-22T14:51:05-07:00
by tconrad
Hello:

I have been building ImageMagick-6.4.0 over and over on AIX 5.3. It builds okay. But when executing anything in the /bin directory I always get:

0509-036 Cannot load program xxxxxx because of the following errors:
0509-022 Cannot load module /opt/apps/ots/ImageMagick/lib/libMagickCore.a(libMagickCore.so.1).
0509-150 Dependent module /opt/freeware/lib/libtiff.a(libtiff.so.3) could not be loaded.
0509-152 Member libtiff.so.3 is not found in archive
0509-022 Cannot load module xxxxxx.
0509-150 Dependent module /opt/apps/ots/ImageMagick/lib/libMagickCore.a(libMagickCore.so.1) could not be loaded.
0509-022 Cannot load module .

My question: How do I force ImageMagick to look for libtiff.a in a different directory? I really need to make it stop looking in /opt/freeware/lib for libtiff.a and to make it start looking for it in a directory that I specify. How can I do that?

---Thanks A Million
---TConrad

Re: ImageMagick Unable To Find libtiff.a

Posted: 2008-04-23T21:05:56-07:00
by fmw42
Did you install the delegate libraries? Check your configuration and look at the line for DELEGATES

convert -list configure

On my system I installed a bunch of delegates including libtiff and so my line says:

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib


The delegate libraries can be found at:

http://www.imagemagick.org/download/delegates/

Re: ImageMagick Unable To Find libtiff.a

Posted: 2008-05-09T09:33:33-07:00
by tconrad
libtiff.a is installed in two places. The version ImageMagick needs is in /opt/apps/ots/lib, not in /opt/freeware/lib.

I need to make ImageMagick look for libtiff.a in /opt/apps/ots/lib (or, more generally, in whatever directory I tell it to look in) instead of /opt/freeware/lib.

How can I make this happen?

---TC

Re: ImageMagick Unable To Find libtiff.a

Posted: 2008-05-09T11:53:38-07:00
by magick
See Advanced Unix Source Installation at http://www.imagemagick.org/script/advan ... lation.php for help in configuring ImageMagick.

Re: ImageMagick Unable To Find libtiff.a

Posted: 2008-05-12T07:08:15-07:00
by tconrad
Been there. Tried about 20 different things. Nothing worked. After doing all that I posted my question here. This is my last resort.

---Thanks
---TC