Hello perlmonks. I am hosting a website and for that purpose i want to make some animated gifs. I have downloaded the module GD but it gives the following error:
libgd 2.0.33 or higher required for animated GIF support at C:\gd.pl line 7.
I downloaded it again to make sure i have the right version, and i get the following message:
GD is up to date. (2.83).
It seems to me i have the right version but i am relatively new to perl. I have been looking on the internet but am unable to find an answer, therefore i seek your help. If you cannot help me i will have to find some other way to make some animated gifs. Thank you.
perl -MGD -le "print GD::LIBGD_VERSION;"That should show you that libgd is at a version less than 2.0.33.
yes, when i run that command it says 2.0303. You said to install a version of GD that has been built against libgd-2.0.33 or later but how would i do that? I used the cpan command cpanm GD to download the module, in case that matters.
Install an up to date version of libgd on your system, then use
cpanto build the perl module GD against it. You haven't specified which OS you are on, if it has a package manager you should be able to install it from there:
sudo pacman -S gd [sudo] password for marto: warning: gd-2.3.3-9 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change extra/gd 2.3.3-9 2.3.3-9 0.00 MiB
Then just reinstall the module using cpan or otherwise. If on windows see instructions at https://github.com/libgd/libgd, or consider using Strawberry perl with all this sort of thing included.