Building Applications for UNIX** Environments
Once you have the answers to the questions above, you may need to make
changes to your environment. Read the conditions listed below.
If one of the conditions applies to your situation, make the necessary
changes.
Condition 1: If a Version 2 application loads a shared library out of
the AIX default shared library path /usr/lib/libdb2.a, and
- If there is a symbolic link from /usr/lib/libdb2.a to
/usr/lpp/db2_02_01/lib/libdb2.a, and the database server is DB2
Universal Database Version 5 for AIX, do one of the following:
- If there is a symbolic link from /usr/lib/libdb2.a to
/usr/lpp/db2_05_00/lib/libdb2.a, and the database server is DB2
Version 2, configure a TCP/IP connection from the application (client)
instance to the server instance. Refer to Installing and Configuring DB2 Clients for information about configuring TCP/IP.
Condition 2: If a Version 2 application loads a shared library out of
the $HOME path of a DB2 Version 2 instance owner
($HOME/sqllib/lib/libdb2.a), and the database server is DB2 Universal
Database Version 5 for AIX, do one of the following:
- Migrate the application instance to the same version as the database
server instance.
- Set the LIBPATH environment variable to point to
/usr/lpp/db2_05_00/lib or INSTHOME/sqllib/lib, where INSTHOME is the
home directory of the Version 5 instance owner.
- Configure a TCP/IP connection from the application (client) instance to
the server instance. Refer to Installing and
Configuring DB2 Clients for information about configuring TCP/IP.
Condition 3: If a Version 2 application loads a shared library out of
the DB2 Version 2 install path (/usr/lpp/db2_02_01/lib/libdb2.a),
and the database server is DB2 Universal Database Version 5 for AIX, do one of
the following:
- Set the LIBPATH environment variable to point to
/usr/lpp/db2_05_00/lib or INSTHOME/sqllib/lib, where INSTHOME is the
home directory of the database instance owner.
- Configure a TCP/IP connection from the application (client) instance to
the server instance. Refer to Installing and
Configuring DB2 Clients for information about configuring TCP/IP.
Condition 4: If a Version 2 application loads a shared library out of
the DB2 Universal Database Version 5 for AIX install path
(/usr/lpp/db2_05_00/lib/libdb2.a), and the database server is DB2
Version 2, configure a TCP/IP connection from the application (client)
instance to the server instance. Refer to Installing and Configuring DB2 Clients for information about configuring TCP/IP.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]