Hi there,

Can you check this installation procedure 
to see if I 'm doing something wrong or forgetting something.
Thanks.

Environment
OS    : HP-UX 11
Oracle: 8.1.6.1
Perl  : 5.6

These are the steps I followed:

*********
Config.pm
*********

adjust  /opt/perl5/lib/5.6.0/PA-RISC1.1/Config.pm

  ccdlflags=''
  cccdlflags='+z'
! ldflags= ' -L/usr/local/lib'
  ld='ld'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
! libs='-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt -lsec -lcl
-lpthread'
  libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a

********
DBI-1.16
********
extract DBI-1.16.tar.gz
cd DBI-1.14/
perl Makefile.PL
make
make test
make install
OK

***************
DBD-Oracle-1.06
***************
extract DBD-Oracle-1.06.tar.gz
cd Oracle-1.06/

export ORACLE_HOME = /u01/app/oracle/product/8.1.6
export LD_LIBRARY_PATH = $ORACLE_HOME/lib
export SHLIB_PATH = $ORACLE_HOME/lib:/usr/lib

perl Makefile.PL

## remove the following parameters "-Wl,+s" and "-Wl,+n"

cat Makefile | sed 's/-Wl,+s//' > Makefile.tmp
cat Makefile.tmp | sed 's/-Wl,+n//' > Makefile

cat Makefile | sed 's/\(OTHERLDFLAGS=.*$\)/\1 -lqsmashr/' >
Makefile.tmp
mv Makefile.tmp Makefile

make

*****
ERROR
*****
        LD_RUN_PATH="" ld -o blib/arch/auto/DBD/Oracle/Oracle.sl  -b
-s -a
shared Oracle.o  dbdimp.o  oci7.o  oci8.o
-L/u01/app/oracle/product/8.1.6/lib/
-L/u01/app/oracle/product/8.1.6/rdbms/lib      
/u01/app/oracle/product/8.1.6/lib/nautab.o
/u01/app/oracle/product/8.1.6/lib/naeet.o
/u01/app/oracle/product/8.1.6/lib/naect.o
/u01/app/oracle/product/8.1.6/lib/naedhs.o  `cat
/u01/app/oracle/product/8.1.6/lib/ldflags`     -lnsgr8 -lnzjs8 -ln8
-lnl8 -lnro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags`    
-lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8  -lvsn8 -lwtc8 -lcommon8
-lgeneric8 -lmm -lnls8  -lcore8 -lnls8 -lcore8  -lnls8   `cat
/u01/app/oracle/product/8.1.6/lib/ldflags`     -lnsgr8 -lnzjs8 -ln8
-lnl8 -lnro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags`    
-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      -lm  
/u01/app/oracle/product/8.1.6/rdbms/lib/kpudfo.o `cat
/u01/app/oracle/product/8.1.6/lib/sysliblist`    
ld: Can't find library for -lnbeq8
*** Error exit code 1

Stop.

I found the library, liblneq8.a, in /u01/app/oracle/product/8.1.6/lib/

Thanks,

Wez

Reply via email to