develooper Front page | perl.dbi.oracle-oci | Postings from July 2003

I need help for installation DBD::ORACLE

Thread Next
From:
=?iso-8859-1?Q?Francisco=20Gonz=EFlez=20V=EFzquez?=
Date:
July 30, 2003 03:35
Subject:
I need help for installation DBD::ORACLE
Message ID:
3EF2DBA50000B761@pop4.es.tisadm.net
Hi,
 I have a very urgent questions for installing
DBD::ORACLE.

When I run the command "make test", after I've ran the command "perl Makefile.PL
-l" and the command "make"; following error appeared :

************************************************************************
         /bin/sh -c true
         /bin/sh -c true
        /usr/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1 -I/opt/perl5/lib/5.6.0
/opt/perl5/lib/5.6.0/ExtUtils/xsubpp  -typemap /opt/perl5/lib/5.6.0/ExtUtils/typemap
Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
        cc -c -I/oracle/8.1.7/rdbms/public -I/oracle/8.1.7/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI
-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.14\"
 -DXS_VERSION=\"1.14\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DUTF8_SUPPORT
Oracle.c
        LD_RUN_PATH="/oracle/8.1.7/lib" ld -o blib/arch/auto/DBD/Oracle/Oracle.sl
 -b -s -a shared Oracle.o  dbdimp.o  oci7.o  oci8.o    -L/oracle/8.1.7/lib
-lclntsh -lrt -lpthread -ldld
        chmod 755 blib/arch/auto/DBD/Oracle/Oracle.sl
        cp ora_explain blib/script/ora_explain
        /usr/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1 -I/opt/perl5/lib/5.6.0
-MExtUtils::MakeMaker  -e "MY->fixin(shift)" blib/script/ora_explain
        PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl5/lib/5.6.0/PA-RISC1.1
-I/opt/perl5/lib/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
t/base............../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl'
for module DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm
line 200.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/base.t line 19
The remaining tests will probably also fail with the same error.

*** Please read the README and README.help files for help. ***

t/base..............ok 3/5FAILED tests 4-5

        Failed 2/5 tests, 60.00% okay
t/cursor............/usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm line
200.
 at t/cursor.t line 18
Compilation failed in require at t/cursor.t line 18.
BEGIN failed--compilation aborted at t/cursor.t line 18.
t/cursor............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/general.........../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl'
for module DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm
line 200.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/general.t line 20
t/general...........dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/long............../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm line
200.
 at t/long.t line 4
Compilation failed in require at t/long.t line 4.
BEGIN failed--compilation aborted at t/long.t line 4.
t/long..............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/meta............../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl'
for module DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm
line 200.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/meta.t line 23
t/meta..............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/ph_type.........../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm line
200.
 at t/ph_type.t line 18
Compilation failed in require at t/ph_type.t line 18.
BEGIN failed--compilation aborted at t/ph_type.t line 18.
t/ph_type...........dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/plsql............./usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm line
200.
 at t/plsql.t line 17
Compilation failed in require at t/plsql.t line 17.
BEGIN failed--compilation aborted at t/plsql.t line 17.
t/plsql.............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/reauth............skipped test on this platform
t/select............/usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Can't load 'blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle:
Exec format error at /opt/perl5/lib/5.6.0/PA-RISC1.1/DynaLoader.pm line
200.
 at t/select.t line 4
Compilation failed in require at t/select.t line 4.
BEGIN failed--compilation aborted at t/select.t line 4.
t/select............dubious

        Test returned status 255 (wstat 65280, 0xff00)
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/base.t                      5    2  40.00%  4-5
t/cursor.t      255 65280    ??   ??       %  ??
t/general.t     255 65280    ??   ??       %  ??
t/long.t        255 65280    ??   ??       %  ??
t/meta.t        255 65280    ??   ??       %  ??
t/ph_type.t     255 65280    ??   ??       %  ??
t/plsql.t       255 65280    ??   ??       %  ??
t/select.t      255 65280    ??   ??       %  ??
1 test skipped.
Failed 8/9 test scripts, 11.11% okay. 2/5 subtests failed, 60.00% okay.
*** Error exit code 2

Stop.
************************************************************************


And when I run the command "make", after I've ran the command "perl Makefile.PL";
following error appeared :

************************************************************************
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Oracle
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Oracle
mkdir blib/man1
mkdir blib/man3
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp oraperl.ph blib/lib/oraperl.ph
cp Oraperl.pm blib/lib/Oraperl.pm
         /bin/sh -c true
         /bin/sh -c true
        /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" < /opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI/Driver.xst
> Oracle.xsi
        /usr/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1 -I/opt/perl5/lib/5.6.0
/opt/perl5/lib/5.6.0/ExtUtils/xsubpp  -typemap /opt/perl5/lib/5.6.0/ExtUtils/typemap
Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
        cc -c -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public -I/oracle/8.1.7/plsql/public
-I/oracle/8.1.7/network/public -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public
-I/oracle/8.1.7/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI
-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.14\"
 -DXS_VERSION=\"1.14\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DUTF8_SUPPORT
Oracle.c
        cc -c -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public -I/oracle/8.1.7/plsql/public
-I/oracle/8.1.7/network/public -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public
-I/oracle/8.1.7/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI
-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.14\"
 -DXS_VERSION=\"1.14\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DUTF8_SUPPORT
dbdimp.c
        cc -c -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public -I/oracle/8.1.7/plsql/public
-I/oracle/8.1.7/network/public -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public
-I/oracle/8.1.7/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI
-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.14\"
 -DXS_VERSION=\"1.14\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DUTF8_SUPPORT
oci7.c
        cc -c -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public -I/oracle/8.1.7/plsql/public
-I/oracle/8.1.7/network/public -I/oracle/8.1.7/rdbms/demo -I/oracle/8.1.7/rdbms/public
-I/oracle/8.1.7/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1/auto/DBI
-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.14\"
 -DXS_VERSION=\"1.14\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DUTF8_SUPPORT
oci8.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/oracle/8.1.7/lib:/oracle/8.1.7/rdbms/lib" ld -o blib/arch/auto/DBD/Oracle/Oracle.sl
 -b -s -a shared Oracle.o  dbdimp.o  oci7.o  oci8.o -L/oracle/8.1.7/lib/
-L/oracle/8.1.7/rdbms/lib/   /oracle/8.1.7/rdbms/lib/kpudfo.o /oracle/8.1.7/lib/nautab.o
/oracle/8.1.7/lib/naeet.o /oracle/8.1.7/lib/naect.o /oracle/8.1.7/lib/naedhs.o
-lclntsh /oracle/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 -lnho
st8 -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:libcl.a -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl
-lm -lpls8 -lsql8 -lqsmashr
ld: Can't find library: "nbeq8"
*** Error exit code 1

Stop.
************************************************************************


Configuration:
HPUX 11.00
Oracle 8.1.7
Perl 5.6.0
DBI 1.37
DBD 1.14

thanking you in advance
Regards
Francisco.

¡¡¡OFERTA VERANO: TISCALI ADSL TOP 24 h. a 9,95 €/mes
más música y webcam GRATIS!!!

http://acceso.tiscali.es/html/mxtop.html?did=adt-7390015







Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About