MySQL module can not install the solution _mysql

Source: Internet
Author: User

Our most commonly used Dbd::mysql module, I found is a lot of people in the place. Because the installation always fails, I will introduce the solution, such as I use CPANM installation, sometimes out of/home/nue2501j/work/dbd-mysql-4.010/blib /arch/auto/dbd/mysql/mysql.so:undefined Symbol:dbic_trace_level at/usr/lib/perl5/5.8.5/i386-linux-thread-multi/ DYNALOADER.PM Line 230.

As follows

1.

# CPANM Dbd::mysql

Error

# tried to use ' dbd::mysql '.
# error:can ' t load '/home/nue2501j/work/dbd-mysql-4.010/blib/arch/auto/dbd/mysql/mysql.so ' for module DBD::mysql:/ home/nue2501j/work/dbd-mysql-4.010/blib/arch/auto/dbd/mysql/mysql.so:undefined Symbol:dbic_trace_level at/usr/ LIB/PERL5/5.8.5/I386-LINUX-THREAD-MULTI/DYNALOADER.PM Line 230.
# at (Eval 4) Line 2
# Compilation failed in require (eval 4) line 2.
# BEGIN Failed--compilation aborted at (Eval 4) line 2.
Failed--further testing stopped:unable to load Dbd::mysql make
: * * * * [test_dynamic] Error 9

2. [Code][sql] Code

Solving method

 
$ sudo perl-mcpan-e shell
cpan> install Bundle::D bd::mysql/usr/bin/make
  --OK
  /usr/bin/make test--OK
  /usr/bin/make Install--OK
cpan> install Dbd::mysql dbd::mysql is up to
date.

The above mentioned is the entire content of this article, I hope you can enjoy.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.