List:General Discussion« Previous MessageNext Message »
From:Doug Beattie Date:June 17 2002 7:42pm
Subject:Question about Mysql.pm
View as plain text  
I'm working on a DB project to better define Test Suites and test
coverage for the LSB efforts and have encountered some problems.

I've looked without finding answers through Altavista, google, etc.,
even mysql.com's search engine for what to do to correct for one
problem I'm seeing:

Can't locate loadable object for module DBD::mysql in @INC (@INC
contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site-perl/i386-linux /usr/lib/perl5/site-perl
/usr/lib/perl5/site-perl .) at /usr/lib/perl5/5.6.0/i386-linux/Mysql.pm
line 13
Compilation failed in require at
/usr/lib/perl5/5.6.0/i386-linux/Mysql.pm line 13.
Compilation failed in require at ./importTestInfo line 4.
BEGIN failed--compilation aborted at ./importTestInfo line 4.

My importTestInfo perl script, referenced above, starts out:
#!/usr/bin/perl

use Getopt::Long;
use Mysql;

The first 13 lines of the /usr/lib/perl5/5.6.0/i386-linux/Mysql.pm module
on my system look like:
# -*- perl -*-

package Mysql;

use 5.004;
use strict;

require Carp;
require DynaLoader;
require Exporter;
require DBI;
require Mysql::Statement;
require DBD::mysql;

The /usr/lib/perl5/5.6.0/i386-linux/DBD directory looks like:
ls -l DBD
total 42
drwxr-xr-x    2 root     root         1024 Jun 12 16:05 mysql
-r--r--r--    1 root     root         6191 May  2 16:45 mysql.pm
-r--r--r--    1 root     root        33690 Apr 12 14:39 mysql.pod

so I appear to have the DBD::mysql module.

I'm running Caldera's OpenLinux Workstation 3.1.1 with the following
perl and mysql packages installed:
perl-5.6.0-6
gtk+-perl-0.6123-4MR
perl-SGMLSpm-1.03ii-5MR
perl-cgi-2.68-5MR
perl-examples-5.6.0-6
perl-add-5.6.0-6
mod_perl-1.24_01-4MR
perl-pod-5.6.0-6
perl-man-5.6.0-6
perl-modules-5.6.0-5MR
kmp_mysql-1.2.0-12MR
kmysql-1.2.1-7MR
kmysql-devel-1.2.1-7MR
mysql-client-3.23.33-9
mysql-devel-3.23.33-9
mysql-3.23.33-9

If I run my script on a Debian stable release it works fine, although
trying to run phpMyAdmin does not work on Debian even thought it does
work on the OpenLinux 3.1.1

Does anyone know what may be wrong, or know who I should contact to
drill down on correcting the problem I am having?

Thanks for any help/direction any of you may be able to provide.

Doug
-- 
Doug Beattie
dbb@stripped
Thread
Question about Mysql.pmDoug Beattie17 Jun
Re: Question about Mysql.pmDoug Beattie17 Jun
RE: Question about Mysql.pmChristopher Land18 Jun