Consultor Eletrônico



Kbase P4378: Process failing when linking _orasrv executable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Verified

FACT(s) (Environment):

Progress 7.3E
SCO OpenServer 5.0.5
Oracle 7.x

SYMPTOM(s):

Static Linking

Errors when linking the _orasrv

Process failing when linking _orasrv executable

i386ld: Symbol getservbyname in /usr/lib/libsocket.a is multiply defined. First
defined in $ORACLE_HOME/lib/ols.o

ldorasrv: FAILED to load _orasrv

Probuilding _orasrv

Probuild generates link script, ldorasrv

CAUSE:

Setting ORALIB on C Shell was not holding its value because the ldorasrv script was setting up the ORALIB variable everytime was executed.

FIX:

Set ORALIB on K shell as follows:
In this example $ORACLE_HOME=/usr2/oracle

ORALIB="-L/usr2/oracle/lib /usr2/oracle/lib/libocic.a /usr2/oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 ing/usr2/oracle/lib/olm.o /usr2/oracle/lib/old.o /usr2/oracle/lib/oln.o /usr2/oracle/lib/ols.o /usr2/oracle/lib/olc.o -lcore3"
export ORALIB