[Koha] Error with Patron Image Upload - Help

satish lis4satish at gmail.com
Tue Apr 30 01:31:56 NZST 2013


Dear All,

I am using Debian Squeeze 2.6.32-5-686 - Koha 3.10.03,

With  # perl koha_perl_deps.pl -m -u

it says....

                                            Installed         Required
         Module is
Module Name                        Version           Version            Required
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Total modules reported: 0                      * Module is missing or
requires an upgrade.


when I try to upload a patron image, it throws following error.

Software error:

Can't locate object method "newFromJpeg" via package "GD::Image" at
/usr/local/lib/perl/5.10.1/GD/Image.pm line 81.

the line 81 of /usr/local/lib/perl/5.10.1/GD/Image.pm is as shown below.

     75     return unless my $fh = $pack->_make_filehandle($_[0]);
     76     my $magic;
     77     return unless read($fh,$magic,4);
     78     return unless my $type = _image_type($magic);
     79     seek($fh,0,0);
     80     my $method = "newFrom${type}";
     81     return $pack->$method($fh);
     82   }
     83   return $pack->_new(@_);

I tried the solutions provided at :
http://serverfault.com/questions/343637/add-image-support-to-gd-on-debian

still no .. success.

Anybody has encountered the same and work around for this problem in
details why it is occurring? Please help me  to fix this?

with thanks
satish mv
librarian
govt. eng. college, hassan
karnataka, India.


More information about the Koha mailing list