I recently installed the perl PGPLOT graphics module (aka pgperl) on my PowerBook G4 and have a problem with missing library functions. I'm running /usr/bin/perl v5.6.0 with OS X v10.2.3. I've used this module for years under Solaris and Linux so I'm familiar with its use. When I run a perl script with "use PGPLOT" in it I get the message:
dyld: perl Undefined symbols:
_png_create_info_struct
_png_create_write_struct
_png_destroy_write_struct
_png_init_io
_png_set_IHDR
_png_set_PLTE
_png_set_tRNS
_png_set_text
_png_write_end
_png_write_info
_png_write_row
Trace/BPT trap
So this looks like something related to the PNG image format; however, I'm not certain whether I need to install a missing perl module or some other library. I have libpng installed (I used Fink to install it in /sw/lib and then soft-linked it to /usr/local/lib and /usr/lib) but I don't think libpng is the problem since none of these functions are in libpng.a. A Google search for these functions didn't get me very far. Does anyone recognize them? Any suggestions for how to fix this problem?
dyld: perl Undefined symbols:
_png_create_info_struct
_png_create_write_struct
_png_destroy_write_struct
_png_init_io
_png_set_IHDR
_png_set_PLTE
_png_set_tRNS
_png_set_text
_png_write_end
_png_write_info
_png_write_row
Trace/BPT trap
So this looks like something related to the PNG image format; however, I'm not certain whether I need to install a missing perl module or some other library. I have libpng installed (I used Fink to install it in /sw/lib and then soft-linked it to /usr/local/lib and /usr/lib) but I don't think libpng is the problem since none of these functions are in libpng.a. A Google search for these functions didn't get me very far. Does anyone recognize them? Any suggestions for how to fix this problem?