2001.06.21 22:07 "AIX DSO support", by John Marquart

2001.06.21 22:07 "AIX DSO support", by John Marquart

Hello all,

I came upon a problem while compiling libtiff v3.5.5->3.5.7-alpha on an AIX 4.3.3_04 box using XLC 3.6.6. After much searching, I found a similar posting from Andrew Furlong on 21 Dec 1999. Apparently there is something wrong with the way the library libtiff.a is being linked to the tiff tools, because whenever I run them OUTSIDE of the source/compilation directory I get:

exec(): 0509-036 Cannot load program /usr/local/programs/tiff-v3.5.7-alpha/bin/tiffinfo because of the following errors:

0509-150 Dependent module ../libtiff/libtiff.a(shr.o) could not be loaded.
0509-022 Cannot load module ../libtiff/libtiff.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.

Mr. Furlong's was responding to a problem against libtiff 3.4 beta 037 and 3.5.2.

He had quoted his favorite AIX friend "Mike" who suggested something to the extent that the simplest "fix" would be to force non-shared libraries on AIX until someone knows the fix. He also mentioned something about a dump -h.

I am very interested in getting this to compile & work - and would be willing to do whatever testing necessary to try to get this working properly - unfortunately I have very little experience w/ linking/makeing libraries / shared libs.

Does anyone have any suggestions about how I can get libtiff.a to be available via my set LD_LIBRARY_PATH instead of as a relative path to my current dir?


John "Jamie" Marquart           |     This message posted 100% MS free.
Digital Library SysAdmin |  Work: 812-856-5174   Pager: 812-334-6018
Indiana University Libraries |  ICQ: 1131494         D'net Team:  6265

Editor's note: This mail was not originally archived, and has been reconstructed from quotes.