Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

install perl module DBD:Oracle make error for HPUX

inmolee
Occasional Contributor

install perl module DBD:Oracle make error for HPUX

Dear all:
When I Install DBD:Oracle make error......
Please help solve this trobule,thanks!

# make
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
gcc64 -c -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/plsql/public -I/home/image/OraHome1/network/public -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/rdbms/demo -I/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I/opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/CORE" -DUTF8_SUPPORT Oracle.c
gcc64 -c -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/plsql/public -I/home/image/OraHome1/network/public -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/rdbms/demo -I/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I/opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/CORE" -DUTF8_SUPPORT dbdimp.c
gcc64 -c -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/plsql/public -I/home/image/OraHome1/network/public -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/rdbms/demo -I/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I/opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/CORE" -DUTF8_SUPPORT oci7.c
gcc64 -c -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/plsql/public -I/home/image/OraHome1/network/public -I/home/image/OraHome1/rdbms/demo -I/home/image/OraHome1/rdbms/public -I/home/image/OraHome1/rdbms/demo -I/opt/perl64/lib/site_perl/5.8.3/PA-RISC2.0-LP64/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC "-I/opt/perl64/lib/5.8.3/PA-RISC2.0-LP64/CORE" -DUTF8_SUPPORT oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
LD_RUN_PATH="/home/image/OraHome1/lib:/home/image/OraHome1/rdbms/lib" /usr/bin/ld -b -L/usr/local/pa20_64/lib -L/lib/pa20_64 Oracle.o dbdimp.o oci7.o oci8.o +s +n -L/home/image/OraHome1/lib/ -L/home/image/OraHome1/rdbms/lib/ /home/image/OraHome1/rdbms/lib/kpudfo.o /home/image/OraHome1/lib/nautab.o /home/image/OraHome1/lib/naeet.o /home/image/OraHome1/lib/naect.o /home/image/OraHome1/lib/naedhs.o -lclntsh /home/image/OraHome1/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 -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm -lpls8 -lsql8 -o blib/arch/auto/DBD/Oracle/Oracle.sl
ld: Mismatched ABI (not an ELF file) for -lclntsh
Fatal error.
*** Error exit code 1

Stop.


2 REPLIES
T G Manikandan
Honored Contributor

Re: install perl module DBD:Oracle make error for HPUX

I have come across these errors when there is a mismatch of the bit version of the application.

Try pointing to the right library path of Oracle 32 bit or 64 bit
T G Manikandan
Honored Contributor

Re: install perl module DBD:Oracle make error for HPUX

One point I can hit here is that I feel that you are pointing to the 32 bit version of Oracle libraries.Please check that out.

Try setting them to 64 bit libraries