Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

Perl can't find DBD::mysql module

I recently installed Redhat 7.  I want to turn this into a web server.  

I have installed Apache2, and Perl 5.6 was already installed on the system.  I need Perl to be able to access mysql, since I plan on using MovableType.

I downloaded the newest versions of DBD, mysql, and showtable.  I built all 3 modules successfully.  Yet if I try to use the modules inside a perl script, it doesnt find them.

Anybody know what i did wrong?

Thanks in advance.
0
cbestal
Asked:
cbestal
  • 4
  • 2
1 Solution
 
Karl Heinz KremerCommented:
Did you install the perl modules? The normal steps to install a Perl module is to first create the Makefile:

perl Makefile.pl

Then you do a make, followed by a make install:

make
make install

What is the exact error message you get?
0
 
cbestalAuthor Commented:
yes, i installed them.

I dont get an error message.  Perl just does not find the modules.
0
 
Karl Heinz KremerCommented:
What is the error message you get from Perl?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
Karl Heinz KremerCommented:
When you say you installed DBD, are you sure you installed DBD-mysql? There are a number of DBD modules, every one for a different database.
0
 
gtkfreakCommented:
Download perl-DBD-MySQL, libdbi-dbd-mysql and lastly, perl-DBI-.... from your distribution's website or from MySQL website.
You can search for it in google and download also.
0
 
cbestalAuthor Commented:
I fixed my problem by installing RedHat 9.

Since I must give the points to someone, I'll award them to gtkfreak, since his/her answer was the only answer not in the form of a question.
0
 
Karl Heinz KremerCommented:
Actually, you don't have to give the points to somebody: If you solved the problem yourself, and post the solution (which you did), you can request a refund of your points by posting a request in the Community Support area (see the link at the top of the page).
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now