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.

gd-2.0.15-1.i386.rpm already installed, no .so file.

Discussion in 'General Discussion' started by daniel.eriksson, Sep 7, 2004.

  1. daniel.eriksson

    Joined:
    Jan 18, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    I´ve always received perfect support using this support site, so here i´ll go again trying to describe my issues.

    One of my clients needs libgd v2 installed for an application. This is already installed on the machine:

    rpm -ivh
    ftp://fr2.rpmfind.net/linux/fedora/core/1/i386/os/Fedora/RP
    MS/gd-2.0.15-1.i386.rpm
    Retrieving
    ftp://fr2.rpmfind.net/linux/fedora/core/1/i386/os/Fedora/RP
    MS/gd-2.0.15-1.i386.rpm
    warning: /var/tmp/rpm-xfer.jyMQXI: V3 DSA signature: NOKEY,
    key ID 4f2a6fd2
    Preparing...
    ########################################### [100%]
    package gd-2.0.15-1 is already installed


    On line 247 in /usr/lib/php.ini it looks like this:
    274 extension=php_gd.dll

    However, this seems to be my problem, i need to compile php_gd.so to be able to run this on my Fedora system? What will happend with the automatic updates of php, will libgd be deinstalled after an update?
    Are there any switches to /scripts/makecpphp that enables and compiles the php_gd.so?

    Hope i supplied enough info for you to help out the easiest.

    Best Regards,

    Daniel Eriksson
     
  2. daniel.eriksson

    Joined:
    Jan 18, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Solved.

    Enables with --with-gd=shared

    ./configure --with-gd=shared --with-jpeg-dir=<libdir> --with-png-dir=<libdir> --with-zlib-dir=<libdir> --with-gif-dir=<libdir>

    make

    gd.so was created and found in ./modules
     
Loading...

Share This Page