Hi,

I want to setup the perl modules on a common system and access them from the other systems, thus avoiding the need to install them on each system.

To do this I installed the modules on a system and mounted that partition on the rest of the systems. But I am facing following 2 problems :

1. If the perl version on the other system is different than that of the perl version of the system where the modules are installed, I get this error : "perl: symbol lookup error: /modules/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Sys/CPU/CPU.so: undefined symbol: Perl_Tstack_sp_ptr"

2. Specifically for DBD::Oracle : I installed the oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm on the system from where I want to access the perl modules installed on other system. But I got error as "Can't locate DynaLoader.pm in @INC". So I copied /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm on this system from the one where the module is installed. But I am still getting error as "install_driver(Oracle) failed: Can't load '/modules/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at (eval 19) line 3 Compilation failed in require at (eval 19) line 3. Perhaps a required shared library or dll isn't installed where expected"

Can you Perl Gurus, help me resolve the above issues.

Regards,

~Prithvi


In reply to Need Help accessing perl modules installed on shared location by jainprithviraj

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.