The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  3. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page