I get this error when I try to install Oracle 9.2.0.1 on Red Hat Linux 8.0.

"Error in invoking target ntcontab.o of makefile /opt/common/oracle/OraHome1/network/lib/ins_net_client.mk"

When this error show up I do this:

Edit $ORACLE_HOME/ctx/lib/env_ctx.mk and go to "INSO_LINK =", add a "$(LDLIBFLAG)dl" to the line and save it.

Here is the full line with the added "$(LDLIBFLAG)dl" flag:

INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS)

After that I hit retry in the error popup, but this screen shows again.

Other action that a tried was:

Change de file $ORACLE_HOME/bin/genclntsh where a find:

LD_SELF_CONTAINED="-z defs" to LD_SELF_CONTAINED=""

conected as oracle
$ su - oracle
$ $ORACLE_HOME/bin/genclntsh

After that I hit retry in the error popup, but this screen shows again.


When I desist to solve this error and continue, a lot of errors like that show up.


My Settings are:

RAM: 256 MB
SWAP SPACE: 600 MB
JRE 1.1.7 MB

As root I perform this procedure:

cd /proc/sys/kernel
echo 100 32000 100 100 > sem
echo 2147483648 > shmmax
echo 4096 > shmmni
echo 2097152 > shmall

echo >/proc/sys/fs/file-max
ulimit - n 65536
echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
ulimit - u 16384

ln - s/usr/local/jdk117_v3/usr/local/java

groupadd dba
groupadd oinstall
useradd -g oinstall -G dba -u 1007 oracle

mkdir/opt/oracle
mkdir/opt/oracle/product
mkdir/opt/oracle/product/9.2.0
chown -R oracle.oinstall/opt/oracle

mkdir /var/opt/oracle
chown oracle.dba /var/opt/oracle
chmod 755 /var/opt/oracle

# Oracle Environment (These are in .bash_profile)
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/9.2.0
export ORACLE_SID=orcl
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=D_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH

export DISPLAY=:0

export LD_ASSUME_KERNEL=2.2.5

PATH=$PATH:$ORACLE_HOME/bin

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib

su - oracle

cd /app/oracle/Disk1

./runInstaller

Then a choose Enterprise (2.04GB) and Software Only.

Regards