Kageneko has asked for the wisdom of the Perl Monks concerning the following question:

I've recently realized that keeping my group's perl distributions synchronized amongst the various machines would be a great benefit. Mostly, I'm getting tired of doing CPAN installs for every machine in the pool. Bleh. All of the machines are running the same architecture and OS (yay!), so I thought just replicating the perl installation (/appl/cpc/perl) would be fine. I did so and ran a few test modules and all was well. However, DynaLoader choked when it came to DBD::Oracle:
Can't load '/appl/cpc/perl/lib/site_perl/5.8.1/PA-RISC2.0/auto/DBD/Ora +cle/Oracle.sl' for module DBD::Oracle: No such file or directory at / +appl/cpc/perl/lib/5.8.1/PA-RISC2.0/DynaLoader.pm line 229. at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
This deeply confuses me, since that particular directory and file DOES exist and is readable. DynaLoader is kind enough to note that the error message it gives out may not be entirely accurate, so I was wondering if anyone else had any ideas what had gone wrong.

Replies are listed 'Best First'.
Re: Perl replication and DynaLoader and DBD::Oracle
by jdtoronto (Prior) on Aug 01, 2003 at 16:58 UTC
    Kageneko,

    I have never used DBD::Oracle, but I do recall a large number of discussions in the DBI mailing list about the porblems of Oracle, it usually needs to be built against the particular Oracle client software you are using.

    Do the target machines all have the Oracle client installed?

    Hopefully this might lead you in the right direction.

    John