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.

install gd library

Discussion in 'General Discussion' started by powerflash, Apr 13, 2005.

  1. powerflash

    powerflash Active Member

    Joined:
    Nov 1, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    as I install the GD library on my server?


    Alessio
     
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Through Whm.

    Whm -> Software -> Update Apache -> Load Previous Config -> check the Gd box.
     
  3. powerflash

    powerflash Active Member

    Joined:
    Nov 1, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    I problem:

    configure: error: libjpeg.(a|so) not found.

    and

    configure: error: libjpeg.(a|so) not found.

    . ... I have a server on AMD 64bit System
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Hello,

    The libjpeg package contains the jpeg libraries. These allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm.

    Installation of libjpeg

    wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz

    untar the binary and then issue the following command:

    ./configure --enable-static --enable-shared --prefix=/usr/lib &&
    make &&
    make install


    Command explanations
    ./configure --enable-static --enable-shared --prefix=/usr/lin : This command tells libjpeg to build both shared and static libraries and to install them with a base of /usr/lib

    PM me if you need help!
     
  5. hardjoko

    hardjoko Active Member

    Joined:
    Jun 22, 2005
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz

    untar the binary and then issue the following command:

    ./configure --enable-static --enable-shared --prefix=/usr/lib &&
    make &&
    make install

    How do I untar the binary?

    Also what directory should I execute all this command?
     
  6. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider

    You can untar the binary using this comand:

    "tar -xvpzf jpegsrc.v6b.tar.gz "

    You should execute this command in the directory that contains files after you untar jpegsrc.v6b.tar.gz.

    Good luck.
     
  7. Jeff-C

    Jeff-C Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    On centos 3.3 when I check GD easy apache fails. So I treid installing with above commands, and I finish with
    Code:
    ./libtool --mode=link gcc  -o wrjpgcom wrjpgcom.lo 
    gcc -o wrjpgcom wrjpgcom.o
    /usr/bin/install -c -m 644 jconfig.h /usr/lib/include/jconfig.h
    /usr/bin/install: cannot create regular file `/usr/lib/include/jconfig.h': No such file or directory
    make: *** [install-headers] Error 1
    Any ideas?
     
Loading...

Share This Page