in reply to Re^3: Not able to install DBD::Oracle on sun solaris.
in thread Not able to install DBD::Oracle on sun solaris.
Thanks I am now able to install perl in my custom directory..which is /cac/customperl/bin/perl/..Now when I am trying to install DBD::Oracle 1.74 using below commands.
/cac/customperl/bin/perl Makefile.PL make make test
at make test It is throwing the below error
t/000-report-versions-tiny.t .. ok t/00versions.t ................ Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/00versions.t line 10. Compilation failed in require at t/00versions.t line 10. BEGIN failed--compilation aborted at t/00versions.t line 10. # Looks like your test exited with 2 before it could output anything. t/00versions.t ................ Dubious, test returned 2 (wstat 512, 0 +x200) Failed 2/2 subtests t/01base.t .................... 1/6 # Failed test 'install_driver' # at t/01base.t line 24. # got: 'install_driver(Oracle) failed: Can't load '/scripts/D +BD-Oracle-1.74/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::O +racle: ld.so.1: perl: fatal: /opt/oracle/product/11g/db_1/lib/libclnt +sh.so.11.1: wrong ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1 +/sun4-solaris/DynaLoader.pm line 193. # at (eval 11) line 3. # Compilation failed in require at (eval 11) line 3. # Perhaps a required shared library or dll isn't installed where expec +ted # at t/01base.t line 21. # ' # expected: '' # Failed to load Oracle extension and/or shared libraries # Looks like you failed 1 test of 6. t/01base.t .................... Dubious, test returned 1 (wstat 256, 0 +x100) Failed 1/6 subtests (less 2 skipped subtests: 3 okay) t/10general.t ................. Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/10general.t line 8. Compilation failed in require at t/10general.t line 8. BEGIN failed--compilation aborted at t/10general.t line 8. t/10general.t ................. Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/12impdata.t ................. Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/nchar_test_lib.pl line 6. Compilation failed in require at t/nchar_test_lib.pl line 6. BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6. Compilation failed in require at t/12impdata.t line 25. t/12impdata.t ................. Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/14threads.t ................. skipped: this solaris perl 5.020001 no +t configured to support iThreads t/15nls.t ..................... Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/nchar_test_lib.pl line 6. Compilation failed in require at t/nchar_test_lib.pl line 6. BEGIN failed--compilation aborted at t/nchar_test_lib.pl line 6. Compilation failed in require at t/15nls.t line 9. t/15nls.t ..................... Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/20select.t .................. Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/20select.t line 4. Compilation failed in require at t/20select.t line 4. BEGIN failed--compilation aborted at t/20select.t line 4. t/20select.t .................. Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/21nchar.t ................... Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/21nchar.t line 12. Compilation failed in require at t/21nchar.t line 12. BEGIN failed--compilation aborted at t/21nchar.t line 12. t/21nchar.t ................... Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/22nchar_al32utf8.t .......... Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/22nchar_al32utf8.t line 9. Compilation failed in require at t/22nchar_al32utf8.t line 9. BEGIN failed--compilation aborted at t/22nchar_al32utf8.t line 9. t/22nchar_al32utf8.t .......... Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/22nchar_utf8.t .............. Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/22nchar_utf8.t line 9. Compilation failed in require at t/22nchar_utf8.t line 9. BEGIN failed--compilation aborted at t/22nchar_utf8.t line 9. t/22nchar_utf8.t .............. Dubious, test returned 2 (wstat 512, 0 +x200) No subtests run t/23wide_db.t ................. Can't load '/scripts/DBD-Oracle-1.74/b +lib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: +perl: fatal: /opt/oracle/product/11g/db_1/lib/libclntsh.so.11.1: wron +g ELF class: ELFCLASS64 at /cac/customperl/lib/5.20.1/sun4-solaris/Dy +naLoader.pm line 193. at t/23wide_db.t line 9. Compilation failed in require at t/23wide_db.t line 9. BEGIN failed--compilation aborted at t/23wide_db.t line 9. etc etc
not able to understand this error. could anyone please help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Not able to install DBD::Oracle on sun solaris.
by Corion (Patriarch) on Dec 18, 2014 at 12:43 UTC |