ImageMagick Unable To Find libtiff.a

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
tconrad

ImageMagick Unable To Find libtiff.a

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick Unable To Find libtiff.a

Post 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/
tconrad

Re: ImageMagick Unable To Find libtiff.a

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick Unable To Find libtiff.a

Post by magick »

See Advanced Unix Source Installation at http://www.imagemagick.org/script/advan ... lation.php for help in configuring ImageMagick.
tconrad

Re: ImageMagick Unable To Find libtiff.a

Post 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
Post Reply