Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Missing dependency libmysqlclient.so.16 for perl-DBD-MySQL on cPanel 11.38

Discussion in 'General Discussion' started by BasicLink SA, Jun 13, 2013.

  1. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    We have a brand new cPanel server, it's a fresh install of version 11.38.

    There is a problem installing "perl-DBD-MySQL" RPM package now with the new version of MySQL in version 11.38.

    # yum install perl-DBD-MySQL
    <snip>
    Resolving Dependencies
    --> Running transaction check
    ---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
    --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    --> Finished Dependency Resolution
    Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
    Requires: libmysqlclient.so.16()(64bit)
    Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
    Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)


    I took a look at a server that was setup a month ago and I found that the missing dependency is part of the older MySQL package:
    # rpm -qf /usr/lib64/libmysqlclient.so.16.0.0
    MySQL51-shared-5.1.69-1.cp1136.x86_64


    How can I resolve this, how can I install "perl-DBD-MySQL" on a new version 11.38 cPanel server?

    Thanks.
     
  2. gopkris2005

    gopkris2005 Well-Known Member

    Joined:
    Jan 9, 2007
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Try the following steps to install it.

    1. Run from Shell.

    perl -MCPAN -e shell

    2.Type in,

    cpan> install DBD::mysql
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    Thanks for your response.

    That is a good idea and I may end up using it. The issue I have is that with the RPM DBD::mysql will stay up to date but (my assumption is that) the cpan version will not and I will have to manually monitor it and manually update it when a new version comes out.

    While I have used cpan I am not that familiar with it so maybe there is an easy way to keep the modules up to date that I am unaware of.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The "upgrade" command with CPAN will check to see if the module is up to date:

    Code:
    cpan> upgrade DBD::mysql
    All modules are up to date for DBD::mysql
    You could write a custom bash script to utilize this command on a regular basis for the modules you want to keep up to date through CPAN.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice