Maybe the Oracle installation has moved and/or LD_LIBRARY_PATH has changed.
Use ldd (with some options, I forget which) on the .../DBD/Oracle.so file to see where it's looking for the oracle libraries. Tim. On Tue, Feb 05, 2002 at 04:04:00PM -0600, ARTHUR MERAR wrote: > > Hi, > > This started happening today....can you help???? The error seems to revolve >around: OCIInitialize > > > Our system is down.....and we need some help................... > > > > # /usr/ccs/bin/make test > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib >-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/lo > cal/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; >runtests @ARGV;' t/*.t > t/base..............FAILED tests 4-5 > Failed 2/5 tests, 60.00% okay > t/general...........install_driver(Oracle) failed: Can't load >'blib/arch/auto/DBD/Oracle/Oracle.so' for mo > dule DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: file >blib/arch/auto/DBD/Oracle/Oracle.s > o: symbol OCIInitialize: referenced symbol not found at >/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader > .pm line 206. > 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..............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module >DBD::Oracle: ld.so.1: /usr > /bin/perl: fatal: relocation error: file blib/arch/auto/DBD/Oracle/Oracle.so: symbol >OCIInitialize: refere > nced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line >206. > 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/ph_type...........Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module >DBD::Oracle: ld.so.1: /usr > /bin/perl: fatal: relocation error: file blib/arch/auto/DBD/Oracle/Oracle.so: symbol >OCIInitialize: refere > nced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line >206. > at t/ph_type.t line 20 > Compilation failed in require at t/ph_type.t line 20. > BEGIN failed--compilation aborted at t/ph_type.t line 20. > t/ph_type...........dubious > Test returned status 255 (wstat 65280, 0xff00) > t/plsql.............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for module >DBD::Oracle: ld.so.1: /usr > /bin/perl: fatal: relocation error: file blib/arch/auto/DBD/Oracle/Oracle.so: symbol >OCIInitialize: refere > nced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line >206. > 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 > Failed Test Status Wstat Total Fail Failed List of Failed > -------------------------------------------------------------------------------- > t/base.t 5 2 40.00% 4-5 > t/general.t 255 65280 ?? ?? % ?? > t/long.t 255 65280 ?? ?? % ?? > t/ph_type.t 255 65280 ?? ?? % ?? > t/plsql.t 255 65280 ?? ?? % ?? > 1 test skipped. > Failed 5/6 test scripts, 16.67% okay. 2/5 subtests failed, 60.00% okay. > *** Error code 29 > make: Fatal error: Command failed for target `test_dynamic' > # perl Makefile.PL -s OCIInitialize > Multiple copies of Driver.xst found in: >/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI /usr/lo > cal/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI at Makefile.PL line 37 > Using DBI 1.201 installed in >/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI > > Configuring DBD::Oracle ... > > Arthur Merar > Sr Oracle Database Administrator > SD.I (System Development. Integration) > (312) 747-3704 > > >>> Remember to actually *READ* the README file! > Especially if you have any problems. > > Using Oracle in /apps/app/oracle/product/8.1.5 > Found header files in rdbms/demo. > Searching for symbol 'OCIInitialize' in /apps/app/oracle/product/8.1.5 ... > searching oracle lib/libagent8.a ... > searching oracle lib/libaurora.a ... > searching oracle lib/libclient8.a ... > [90] | 0| 16|FUNC |GLOB |0 |3 |OCIInitialize > [321] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [46] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [35] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [88] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [465] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [27] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [54] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [33] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [180] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [14013] | 1498112| 16|FUNC |GLOB |0 |9 |OCIInitialize > [249] | 0| 0|FUNC |GLOB |0 |UNDEF |OCIInitialize > [123] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [74] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [9] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [18] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [16] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [47] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > [146] | 0| 0|NOTY |GLOB |0 |UNDEF |OCIInitialize > Searching for symbol 'OCIInitialize' in /usr/local/lib /usr/lib /usr/ccs/lib ... > nm: /usr/local/lib/lib*.so: No such file or directory > nm: /usr/ccs/lib/lib*.so: No such file or directory > Search done. > > > >
