in reply to DBD::Oracle in browser

I opened up permissions on /usr/local/lib/perl5 and low and behold I have a new error that night give a hint.

DBI object version 1.609 does not match bootstrap parameter 1.634 at /usr/lib/perl5/DynaLoader.pm line 223.

BEGIN failed--compilation aborted at /usr/local/lib/perl5/DBI.pm line 286.

I have perl-DBI-1.609-4.el6.i686 installed and I also fetched DBI from cpan which looks like version 1.634.

Anyone have an idea how to solve this? This is a server that just went into production this week and I only have a handful of little programs that need this. We are in the process of migrating off of oracle, but it will be a few more months until we are done.

Replies are listed 'Best First'.
Re^2: DBD::Oracle in browser
by Corion (Patriarch) on Jan 07, 2016 at 07:58 UTC

    You have more than one version of DBI installed on the machine and the perl you are running finds the wrong version first.

    Check the contents of @INC and adjust them before running your program, most easily through PERL5LIB (via perlrun).

Re^2: DBD::Oracle in browser
by nadeemrafikhan (Initiate) on Nov 15, 2016 at 07:26 UTC
    Hello sgrennay- Did you fix this problem as I am also facing the same problem, but couldn't able to fix it, any help will be appreciated.