Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    34

    Default install gd library

    Hi,

    as I install the GD library on my server?


    Alessio

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Through Whm.

    Whm -> Software -> Update Apache -> Load Previous Config -> check the Gd box.
    Lloyd F Tennison

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    34

    Default

    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. #4
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    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!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    37

    Default

    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. #6
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Default

    Quote Originally Posted by hardjoko
    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?

    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. #7
    Member
    Join Date
    Mar 2004
    Posts
    117

    Default

    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?

Similar Threads & Tags
Similar threads

  1. install php library
    By khanhtran in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-07-2008, 02:30 AM
  2. Install GD Library
    By Llamatron in forum New User Questions
    Replies: 4
    Last Post: 02-12-2008, 02:17 PM
  3. GD library install
    By steele in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-06-2004, 11:31 AM
  4. GD library install
    By steele in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-05-2004, 02:44 PM
  5. How do I install GD Graphics Library?
    By mixx941 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-22-2003, 03:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube