[Bioperl-l] more GD woes

Lincoln Stein lstein at cshl.edu
Tue Nov 8 15:03:29 EST 2005


When you compiled GD and libgd, did you include PNG support? If not, this 
would explain your problem.

For what it's worth, the ActiveState build of GD works fine.

Lincoln

On Tuesday 08 November 2005 02:49 pm, Thomas J Keller wrote:
> Greetings,
> I never can get GD to work. It is very frustrating.
> Here's the error I'm getting running the example 1 script from the
> Graphics HowTo folder:
> Can't locate object method "png" via package "GD::Image" at /Library/
> Perl/5.8.6/Bio/Graphics/Panel.pm line 930, <> line 9.
>
> I believe I have everything needed:
> $ perl -MGD -e 'print $GD::VERSION';
> 2.30
>
> $ ls -l /sw/lib | grep libgd*
> -rwxr-xr-x    1 root  admin    255244 May 25 09:57 libgd.1.8.dylib
> lrwxr-xr-x    1 root  admin        15 Oct 25 12:20 libgd.1.dylib ->
> libgd.1.8.dylib
> -rwxr-xr-x    1 root  admin    445384 May 16 03:01 libgd.2.0.0.dylib
> lrwxr-xr-x    1 root  admin        17 Sep 28 17:26 libgd.2.dylib ->
> libgd.2.0.0.dylib
> -rw-r--r--    1 root  admin    227144 May 25 09:57 libgd.a
> lrwxr-xr-x    1 root  admin        13 Oct 25 12:27 libgd.dylib ->
> libgd.1.dylib
> -rwxr-xr-x    1 root  admin  20740724 May 22 11:17 libgeos.2.1.1.dylib
> lrwxr-xr-x    1 root  admin        19 Oct 14 11:21 libgeos.2.dylib ->
> libgeos.2.1.1.dylib
>
> $ locate Image.pm
> /Library/Perl/5.8.6/darwin-thread-multi-2level/GD/Image.pm
> /Library/Perl/5.8.6/darwin-thread-multi-2level/Template/Plugin/GD/
> Image.pm
>
> I'm thinking the left hand doesn't know what the right hand is doing.
> I.e., one or more of these interconnected files is not finding
> something it needs. But I'll be damned if I know how to find out
> which, much less how to fix it.
>
> Thanks for any suggestions.
>
> Tom
>
> Tom Keller, Ph.D.
> http://www.ohsu.edu/research/core
> kellert at ohsu.edu
> 503-494-2442
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l

-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
FOR URGENT MESSAGES & SCHEDULING, 
PLEASE CONTACT MY ASSISTANT, 
SANDRA MICHELSEN, AT michelse at cshl.edu


More information about the Bioperl-l mailing list