From: Chetna W. <ch...@ar...> - 2003-02-20 22:19:24
|
Hi, Thanks for the mail. I'm getting the same error msg for the test pl. [chetna@mango chetna]$ ./test.pl DBI 1.2 required--this is only version 1.18 (/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm) at ./test.pl line 3 Compilation failed in require at ./test.pl line 3. BEGIN failed--compilation aborted at ./test.pl line 3. [chetna@mango chetna]$ I am getting DBI-2.28 for mango and the DBD-Oracle that I use is 1.12 chetna > I don't believe that our code requires a particularly recent version > of DBI, so my guess is that the incompatibility is between your DBD::Oracle > and DBI. Can you try creating the following trivial Perl script and tell me > whether it will run: > > -----------------------------begin test.pl--------------------------- > #!/usr/bin/perl > use DBI; > use DBD::Oracle; > > print "Test successful!\n"; > > -----------------------------end test.pl----------------------------- > > If you get the same error message from this test script then it's likely > that your copy of DBD::Oracle is not compatible with your copy of DBI. > > > I have 1.18 here which version do you guys recommend. > > We're using DBD-Oracle-1.12 and DBI-1.28 on our test machine, and so I know > that these versions are definitely compatible. Let me know whether the above > test works. > > Jonathan > > -- > Jonathan Crabtree > Center for Bioinformatics, University of Pennsylvania > 1406 Blockley Hall, 423 Guardian Drive Philadelphia, PA 19104-6021 > 215-573-3115 > > |