Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mac OS X - dyld: perl Undefined symbols dyld: perl Undefined symbols:

Status
Not open for further replies.

DSDunbar

Technical User
Joined
Jan 19, 2003
Messages
2
Location
CA
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?
 
From a quick reading of the PGPLOT documentation:

It looks to me as if the PGPLOT C/FORTRAN library is not installed on your machine. I'm surprised you managed to get past the 'make test' installation stage to be honest.

Have you installed the library? Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
No, I have PGPLOT installed. I had used Fink to install the PGPLOT Fortran and C static libraries (libcpgplot.a and libpgplot.a) in /sw/pgplot and then soft-linked them to /usr/lib and /usr/local/lib. However, one thing that may be relevant is that there is no shared library installed. I suspect that is because, AFAIK, OS X does not allow common bloxks in shared libraries.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top