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?


In reply to Re^4: Not able to install DBD::Oracle on sun solaris. by Ankur_kuls
in thread Not able to install DBD::Oracle on sun solaris. by Ankur_kuls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.