I am building GraphicsMagick-1.2 on AIX 5.3. If I build with tiff support, it builds without error, but executing gm gives the following error:
0509-036 Cannot load program gm because of the following errors:
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
On the system I'm working on libtiff.a is installed in two places. The version GraphicsMagick needs is in /opt/apps/ots/lib, not in /opt/freeware/lib.
I need to make GraphicsMagick (gm) 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? I've tried building GraphicsMagick several (about 15) different ways. Nothing worked. Your help will be much appreciated.