[Bioperl-l] more GD woes

Thomas J Keller kellert at ohsu.edu
Tue Nov 8 14:49:56 EST 2005


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



More information about the Bioperl-l mailing list