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.

Britton

On Fri, Jun 29, 2012 at 11:47 AM, Carolyn Peruta <perutaca@msu.edu> wrote:

I looked back in the email archive and found this exact same problem from John ZuHone.  http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2011-June/001652.html

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


ERROR:
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/pkg_resources.py", 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/pkg_resources.py", 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/pkg_resources.py", line 1991, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/utilities/command_line.py", line 26, in <module>
    from yt.mods import *
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/mods.py", line 107, in <module>
    from yt.visualization.api import \
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/api.py", line 34, in <module>
    from plot_collection import \
  File "/Users/cperuta/yt-i386/src/yt-hg/yt/visualization/plot_collection.py", line 26, in <module>
    from matplotlib import figure
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/figure.py", line 18, in <module>
    from axes import Axes, SubplotBase, subplot_class_factory
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/axes.py", line 14, in <module>
    import matplotlib.axis as maxis
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/axis.py", line 14, in <module>
    import matplotlib.text as mtext
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/text.py", line 31, in <module>
    from matplotlib.backend_bases import RendererBase
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 48, in <module>
    import matplotlib.textpath as textpath
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/textpath.py", line 9, in <module>
    from matplotlib.mathtext import MathTextParser
  File "/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/mathtext.py", line 52, in <module>
    import matplotlib._png as _png
ImportError: dlopen(/Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/_png.so, 2): Symbol not found: _png_set_longjmp_fn
  Referenced from: /Users/cperuta/yt-i386/lib/python2.7/site-packages/matplotlib/_png.so
  Expected in: dynamic lookup

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org