Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Can't install GD on Ubuntu

by Anonymous Monk
on Oct 28, 2010 at 13:31 UTC ( #868016=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I am trying to install the GD module using CPAN to a local perl installation on Ubuntu. It doesn't work and I get this error message:

**UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2 +.0.28 or higher.
Please could you advise where I go from here?

Many thanks in advance

Comment on Can't install GD on Ubuntu
Download Code
Re: Can't install GD on Ubuntu
by zentara (Archbishop) on Oct 28, 2010 at 13:39 UTC
    On Ubuntu, you may be better off installing with the Synaptics Package Manager. Start Synaptics, and search for "Perl GD". Select to install the perl module, and it will ask if you want the dependencies too.... say yes.

    If you want to use CPAN or a manual install, you need to install the libgd2 first. Manually from libgd homepage . Or with Ubuntu , you need the devel package

    #untested sudo apt-get install libgd2 sudo apt-get install libgd2-dev

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      try this:

      sudo apt-get -y install libgd2-xpm-dev build-essentialsudo apt-get -y install libgd2-xpm-dev build-essential
Re: Can't install GD on Ubuntu
by Anonymous Monk on Oct 28, 2010 at 13:40 UTC
    Please could you advise where I go from here?

    You go and install libgd 2 such that it comes with gdlib-config program, and you can find it using which gdlib-config

    On ubuntu that might involve something called apt

Re: Can't install GD on Ubuntu
by marto (Chancellor) on Oct 28, 2010 at 13:41 UTC

    You need the prerequisites mentioned in the README file.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://868016]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-10-25 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls