Consultor Eletrônico



Kbase P5186: Static Linking Progress 8.3x to Oracle 8.17 causes Unsatisfied symbols osncon
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/12/2002
Solution ID: P5186

FACT(s) (Environment):

HP-UX 11.0 32-bit
Progress 8.3C
Oracle 8.1.7

SYMPTOM(s):

Static linking

Encounter following errors during linking orasrv

./ldorasrv: Loading $DLC/probuild/eucapp/_orasrv
(Bundled) cc: warning 421: Unknown subprocess "1" for -W option ignored.
/usr/ccs/bin/ld: Unsatisfied symbols:
osncon (first referenced in /usr/oracle/app/oracle/product/8.1.7/rdbms/lib/k)
./ldorasrv: FAILED to load $DLC/probuild/eucapp/_orasrv

CAUSE:

Incorrect Oracle 8.1.7 objects are referenced when setting ORALIB manually to static mode.

FIX:

Dynamically link Progress to Oracle's shared library.

1. Set ORALIB to the absolute path of the Oracle's shared library.

ORALIB=$ORACLE_HOME/lib/libclntsh.sl

2. Run PROBUILD to create link script
3. Link the _orasrv script to create executable