In fact the hdf5.cfg and png.cfg files are identical.

Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC

On Jun 29, 2012, at 11:42 AM, Britton Smith wrote:

Hi Carolyn,

I think Nathan had a similar issue just a couple days ago.  His solution was to create a png.cfg file in his yt source directory.  That file should just have a single line with the correct path to the libpng install, similar to what's in the hdf5.cfg file.  Someone strike me with lightning if I messed that up.


On Fri, Jun 29, 2012 at 11:47 AM, Carolyn Peruta <> wrote:

I looked back in the email archive and found this exact same problem from John ZuHone.

I wiped all png related stuff from the build and set INST_PNGLIB to 0 but I am still getting this error.  Any ideas?

Notes:  OSX 10.7.4   using Apple's gcc 4.2.1

Traceback (most recent call last):
  File "/Users/cperuta/yt-i386/bin/yt", line 9, in <module>
    load_entry_point('yt==2.3', 'console_scripts', 'yt')()
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/", line 2281, in load_entry_point
    return ep.load()
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/", line 1991, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/utilities/", line 26, in <module>
    from yt.mods import *
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/", line 107, in <module>
    from yt.visualization.api import \
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/", line 34, in <module>
    from plot_collection import \
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/", line 26, in <module>
    from matplotlib import figure
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 18, in <module>
    from axes import Axes, SubplotBase, subplot_class_factory
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 14, in <module>
    import matplotlib.axis as maxis
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 14, in <module>
    import matplotlib.text as mtext
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 31, in <module>
    from matplotlib.backend_bases import RendererBase
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 48, in <module>
    import matplotlib.textpath as textpath
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 9, in <module>
    from matplotlib.mathtext import MathTextParser
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/", line 52, in <module>
    import matplotlib._png as _png
ImportError: dlopen(/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/, 2): Symbol not found: _png_set_longjmp_fn
  Referenced from: /Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/
  Expected in: dynamic lookup

yt-users mailing list

!DSPAM:10175,4fedf72d179473167727586! _______________________________________________
yt-users mailing list