Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jun 2004
    Location
    Colorado, USA
    Posts
    90

    Default GD does not recompile with Apache when selected

    I recompiled Apache earlier this week. I selected the previous configuration and started the build process. GD was installed before, but is not making it into the new build for whatever reason. It does not show up on phpinfo either. However - when I am in WHM and go to update Apache and select previous configuration it is selected.

    When I query for the RPM I get this:

    [~]# rpm --query --list gd
    /usr/lib/libgd.so.1
    /usr/lib/libgd.so.1.8
    /usr/lib/libgd.so.1.8.4
    /usr/share/doc/gd-1.8.4
    /usr/share/doc/gd-1.8.4/index.html
    /usr/share/doc/gd-1.8.4/readme.txt

    The server in question is running this configuration:

    WHM 10.8.0 cPanel 10.8.1-R113
    RedHat Enterprise 3 i686 - WHM X v3.1.0
    Any idea what might be wrong in this case?

    Thanks.

    Chris

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    AFAIK cPanel's buildapache scripts dont use RPM's, try removing the RPM and re-compile

  3. #3
    Member
    Join Date
    Jun 2004
    Location
    Colorado, USA
    Posts
    90

    Default

    I used the WHM scripts as well as I tried easyapache via SSH - wouldn't they ignore the RPMs in that case?

    Chris

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    I assume they would ignore the RPM's but it is likely that you have 2 versions of GD on your system given that you have the RPM installed.

  5. #5
    Member
    Join Date
    Jun 2004
    Location
    Colorado, USA
    Posts
    90

    Default

    Thanks, Nick. I am not such a experienced Linux admin. Do you know the uninstall command I would have to use in this case?

    Chris

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    rpm -e is the command you need to remove the rpm, get the full rpm name from the list (with all its revision number and place that after the -e with a space in between:

    e.g. #: rpm -e packagename-1.34-2

  7. #7
    Member
    Join Date
    Jun 2004
    Location
    Colorado, USA
    Posts
    90

    Default

    Tried to remove it, but that does fail:

    [~]# rpm -e gd-1.8.4-12.3.1
    error: Failed dependencies:
    libgd.so.1.8 is needed by (installed) glibc-utils-2.3.2-95.44
    gd = 1.8.4 is needed by (installed) gd-devel-1.8.4-12.3.1
    gd = 1.8.4 is needed by (installed) gd-progs-1.8.4-12.3.1
    Chris

  8. #8
    Member
    Join Date
    Jun 2004
    Location
    Colorado, USA
    Posts
    90

    Default

    Alright. Maybe this helps anyone else having the same problem. Here is how I got it fixed:

    1) Run /scripts/upcp --force
    2) Run /scripts/easyapache
    Select 7th option
    Select 'PHP Module ---->' and hit enter.
    Select GD using space bar. In my case it was already selected and I just exited out.
    Select 'Exit', again select 'Exit' and then say 'Yes' to save.
    Let the script execute completely and you will find GD is installed on your machine.

    Chris

Similar Threads & Tags
Similar threads

  1. Apache Recompile problem
    By manan in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-16-2008, 06:32 AM
  2. PLEASE help me recompile apache~!!
    By jclarkkent2003 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-29-2006, 12:36 AM
  3. Apache recompile errors
    By dkuntz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-22-2004, 05:10 AM
  4. Apache Recompile Error: been almost a week getting this:
    By admin0 in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 07-30-2003, 05:58 PM
  5. do you have to recompile apache for mod_gzip
    By rastoma in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-29-2002, 03:53 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube