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.

[checkperlmodules]‎ The perl module GD::Graph could not be installed.

Discussion in 'General Discussion' started by silis25, Dec 25, 2011.

  1. silis25

    silis25 Member

    Joined:
    Jul 7, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/GD/GD.so' for module GD: libjpeg.so.62: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 224.
    at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38
    Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38.
    BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38.
    Compilation failed in require at - line 1.
    BEGIN failed--compilation aborted at - line 1.

    I've tried to re install libjpeg.so.62 but with no luck.
    Maybe it's a problem of directory redirection but I don't know how to fix it.
    Help will be greatly appreciated.

    Kfir
     
  2. silis25

    silis25 Member

    Joined:
    Jul 7, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    It looks like I have an old version of gd installed and that is failing the test.
    I think that the GD library is being built ok, but when the test system runs it is picking up the older library.
     
  3. Huusoku

    Huusoku Active Member

    Joined:
    Dec 24, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Oftentimes, this is caused by the GD libraries not being properly installed. Try the following commands:

    Code:
    /usr/local/cpanel/scripts/installgd
    /usr/local/cpanel/scripts/checkperlmodules --full --force
     
  5. Huusoku

    Huusoku Active Member

    Joined:
    Dec 24, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanelTristan,

    Thank you very much for your prompt reply and your suggestion!

    I ran your two commands. The first one said everything was okay and the second one took quite a while to finish. I'll let ya know if I get another error email from my server or not :D

    Regards,
    Huusoku
     
Loading...

Share This Page