I'm trying to install Oracle 8i on Red Hat 9. I've installed the following compat libs:
compat-libstdc++-devel-7.3-2.96.118 compat-gcc-c++-7.3-2.96.118 compat-libstdc++-7.3-2.96.118 compat-gcc-7.3-2.96.118 compat-libgcj-7.3-2.96.118 compat-db-3.3.11-4 compat-libgcj-devel-7.3-2.96.118
After installation (which includes some errors from the ins_*.mk makefiles), I extract the glibc-stubs files into $ORACLE_HOME. First of all I've patched setup_stubs.sh so that it won't redirect make output to /dev/null. My immediate problem is that lsnrctl is not linked correctly; then I go in to $ORACLE_HOME/network/lib and try make -f ins_net_server.mk install manually. The following output results:
gcc -L/ora8/m01/app/oracle/product/8.1.7/lib/ -L/ora8/m01/app/oracle/product/8.1.7/rdbms/lib/ -L/ora8/m01/app/oracle/product/8.1.7/network/lib/ -Wl,-rpath,/ora8/m01/app/oracle/product/8.1.7/lib -L/ora8/m01/app/oracle/product/8.1.7/lib/ -L/ora8/m01/app/oracle/product/8.1.7/rdbms/lib/ -L/ora8/m01/app/oracle/product/8.1.7/network/lib/ -o tnslsnr /ora8/m01/app/oracle/product/8.1.7/network/lib/s0nsgl.o /ora8/m01/app/oracle/product/8.1.7/network/lib/snsglp.o -lclntsh /ora8/m01/app/oracle/product/8.1.7/rdbms/lib/kpuadef.o -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 -lncrypt8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lnent8 -lntcp8 -lntns8 -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 -lncrypt8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lnent8 -lntcp8 -lntns8 -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 -lncrypt8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lnent8 -lntcp8 -lntns8 -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 -lncrypt8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lnent8 -lntcp8 -lntns8 -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -ldl -lm -lpthread -ldl -lm -lnonc8 -lnl8 -ln8 -lnlsnr8 -lnlsnrc8 -lnsgr8 -lnmd -lnms -lncm8 -lnmsp -lpeer -lnro8 -ln8 -ltrace8 -lnl8 -lnonc8 -lnlsnr8 -lnlsnrc8 -lnmd -lnms -lncm8 -lnmsp -ln8 -lpeer -Wl,-rpath,/ora8/m01/app/oracle/product/8.1.7/lib:/lib:/usr/lib
/ora8/m01/app/oracle/product/8.1.7/network/lib//libnlsnr8.a(nsglsn.o)(.text+0x1276): In function `nsglldprm':
: undefined reference to `__ctype_b'
/ora8/m01/app/oracle/product/8.1.7/network/lib//libnlsnr8.a(nsglsn.o)(.text+0x13f4): In function `nsglldprm':
: undefined reference to `__ctype_b'
/ora8/m01/app/oracle/product/8.1.7/network/lib//libnlsnr8.a(nsgcs.o)(.text+0x207d): In function `nsgcssr':
: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make: *** [tnslsnr] Error 1
I get the same output after appending -L/usr/lib/gcc-lib/i386-redhat-linux7/2.96 -lgcc to $ORACLE_HOME/lib/sysliblist and re-running make.
What to do?
Request notifications