Relink Multi-Tier Database Agents
The following instructions will enable you to relink OpenLink database agents against your database.
1. Insure that you have a C compiler and library linker installed on your database server.
2. cd into the "lib" sub-directory of your OpenLink server components installation.
3.
Set and export the OpenLink variable which corresponds to your database.
For example:
export INFORMIX7DIR=$INFORMIXDIR export INGRES6DIR=$II_SYSTEM/ingres export INGRES7DIR=$II_SYSTEM/ingres export ORACLE7DIR=$ORACLE_HOME export ORACLE8DIR=$ORACLE_HOME export PROGRES8DIR=/dbs/dlc8 export PROGRES9DIR=/dbs/dlc9 export SYBASE10DIR=$SYBASE export SYBASE11DIR=$SYBASE
4.
If you use Progress, set and export DLC and PROLOAD.
DLC points to the root of the Progress installation.
PROLOAD points to the $DLC/probuild directory.
5.
If you use Progress, run the preliminary ./mkdlc script which corresponds to your database version.
For example:
./mkdlc8 ./mkdlc9
6.
Run the ld script which corresponds to your OpenLink database agent.
For example:
./lddb2mv ./ldinf73 ./ldora81 ./ldpro9
7.
cd to your OpenLink /bin sub-directory.
8. Find your new agent. If it has a different name than the original agent, open your oplrqb.ini file. Change all occurrences of the old database agent name to the new agent name. Restart your Broker.
9. Test.
Note: Progress users cannot relink without a $DLC/probuild/4gl directory.
Informix users require an $INFORMIXDIR/lib/esql directory.