[Bioperl-l] error in Bio::Graphics print $panel->png

Jason Stajich jason at cgt.duhs.duke.edu
Fri Jul 30 10:57:14 EDT 2004


Perhaps the version of GD you have installed is older and does not support
png?

What does this print out?
% perl -MGD -e 'print "$GD::VERSION\n"'

What if you change the line to pring a GIF instead:
 print $panel->gd->gif;

-jason
On Thu, 29 Jul 2004, Miroslava Cuperlovic-Culf wrote:

> Dear All,
> I am trying to run Bio::Graphics for the first time. I think that I have
> downloaded all the software necessary but still  when I try to run just
> a simple test program:
>
> use Bio::Graphics;
>   my $panel = Bio::Graphics::Panel->new(-length => 1000,
>                                         -width  => 800,
>                                         -pad_left => 10,
>                                         -pad_right => 10,
>                                         );
>   print $panel->png;
>
>
> I get the error:
> perl: relocation error:
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/GD/GD.so: undefined
> symbol: gdImagePngPtr
>
> What could this be? Any help would be GREATLY appreciated and sorry to
> bug you all with most likely a trivial problem.
> Mira
>
>
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list