I was trying to install PHP 5.1.6 on AIX 5.3 and DB2 V8.1 FP12. The configure line (./configure --with-IBM_DB2=/usr/opt/db2_08_01 --with-pdo-odbc=ibm-db2,/home/regrdb/sqllib --with-ibm-db2=/usr/opt/db2_08_01 --with-apxs2=/usr/local/apache2/bin/apxs) continually failed with an error message telling me to source db2profile regardless of how many times I sourced it. I played around with the configure file and found out that one of the statements is actually failing with the messages:

Could not load program ./conftest:
Could not load module /home/regrdb/sqllib/lib/libdb2.a(shr.o).
Dependent module /home/regrdb/sqllib/lib/libdb2osse.a(shr.o) could not be loaded.
Member shr.o is not found in archive
Could not load module conftest.
Dependent module /home/regrdb/sqllib/lib/libdb2.a(shr.o) could not be loaded.
Could not load module .

The instance regrdb is a 64 bit instance and /home/regrdb/sqllib/lib is a link to /usr/opt/db2_08_01/lib64. I found some information online stating that there are some incompatibilities between the 32 and 64 bit libraries, but no info on how this can be fixed.

Any ideas would be greatly appreciated.

Thank you!