RE: DBI Version Problem
From: Alex Kirk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 6:25 PM To: [EMAIL PROTECTED] Subject: DBI Version Problem Pardon me if this has been covered before; I can't reach the archives, and I'm the impateint type. ;-) For some reason, when I ran my perl Makefile.PL command, I got these errors: DBI object version 1.20 does not match $DBI::VERSION 1.15 at /usr/libdata/perl5/i386-openbsd/5.6.0/DynaLoader.pm line 219. I vaguely recall that the directory DBI gets installed in changed slightly at some point, so you have to manually delete all traces of the old DBI, especially the parts in those 'auto' directories under the lib directory. HTH, Douglas Wilson
Re: DBI Version Problem
Sounds like it is like FreeBSD, which has perl libs installed in /usr/libdata/perl. DBI probably installed into /usr/local/lib/perl5 or /usr/lib/perl5. You could upgrade perl to 5.6.1 and install it into your directory of choice and have a newer version of perl :-) On 03-Oct-01 Alex Kirk wrote: I vaguely recall that the directory DBI gets installed in changed slightly at some point, so you have to manually delete all traces of the old DBI, especially the parts in those 'auto' directories under the lib directory. Any idea what typically gets installed? It's kind of hard to weed out the old without knowing where it is. Thanks, Alex -- E-Mail: Scott T. Hildreth [EMAIL PROTECTED] Date: 03-Oct-01 Time: 14:42:25 --
DBI Version Problem
Pardon me if this has been covered before; I can't reach the archives, and I'm the impateint type. ;-) I'm using Perl 5.6.0 on OpenBSD 2.9; it's worked quite well for me so far. After just installing MySQL 3.23.37, I figured the smart thing to do to work with it would be to get the appropriate Perl modules installed. So I went out and grabbed DBI-1.20, which installed just fine, and then DBD-mysql-2.0902. For some reason, when I ran my perl Makefile.PL command, I got these errors: DBI object version 1.20 does not match $DBI::VERSION 1.15 at /usr/libdata/perl5/i386-openbsd/5.6.0/DynaLoader.pm line 219. BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/i386-openbsd/DBI.pm line 180. Compilation failed in require at /usr/local/libdata/perl5/site_perl/i386-openbsd/DBI/DBD.pm line 1740. BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/i386-openbsd/DBI/DBD.pm line 1741. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. I'm guessing that OpenBSD installed DBI-1.15 with Perl on the basic system install. In any case, how would I go about fixing this? Like I said, DBI-1.20 installed just fine, with make test giving no errors. Thanks, Alex Kirk