Errors trying to execute DBI::Sybase script...

Errors trying to execute DBI::Sybase script...

am 19.06.2006 23:54:34 von Kevin

Hi List;

I have a scriptthat is working on a SuSe 386 laptop. However when I
attempt to run it on a Redhat x86_64 box I get this:

DBI object version 1.40 does not match $DBI::VERSION 1.51 at
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader. pm line 253.
BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/D BI.pm line
259.
Compilation failed in require at ./sybase1.pl line 3.
BEGIN failed--compilation aborted at ./sybase1.pl line 3.

Any thoughts???

Re: Errors trying to execute DBI::Sybase script...

am 20.06.2006 15:27:34 von Alexander

Someone has mixed two DBI installations, one 1.40 version and one 1.51
version. The 1.40 version may be inconmplete, but at least some
libraries survived and exist in a directory that is searched before the
directory where the 1.51 libraries exist. If you installed Perl only via
rpm, it's a Redhat bug. Look what parts of perl are installed, remove
them completely (using rpm, then rm -rf /usr/lib64/perl5) and reinstall
them (preferably by compiling perl from source instead of rpm).

Alexander

LLC wrote:

>Hi List;
>
>I have a scriptthat is working on a SuSe 386 laptop. However when I
>attempt to run it on a Redhat x86_64 box I get this:
>
>DBI object version 1.40 does not match $DBI::VERSION 1.51 at
>/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader .pm line 253.
>BEGIN failed--compilation aborted at
>/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/ DBI.pm line
>259.
>Compilation failed in require at ./sybase1.pl line 3.
>BEGIN failed--compilation aborted at ./sybase1.pl line 3.
>
>Any thoughts???
>
>
>

--
Alexander Foken
mailto:alexander@foken.de http://www.foken.de/alexander/