Hello,

I used your new beta installer to install matplotlib on a G5 running  
OS X 10.5.5.  I tried the contour demo and got this error

pylab_examples$ pythonw contour_demo.py
Traceback (most recent call last):
   File "contour_demo.py", line 12, in <module>
     import matplotlib.pyplot as plt
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/pyplot.py", line 6, in <module>
     from matplotlib.figure import Figure, figaspect
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/figure.py", line 19, in <module>
     from axes import Axes, SubplotBase, subplot_class_factory
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/axes.py", line 18, in <module>
     import matplotlib.image as mimage
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib/image.py", line 19, in <module>
     from matplotlib import _png
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/_png.so, 2): Symbol not found:  
_png_destroy_read_struct
   Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/matplotlib/_png.so
   Expected in: dynamic lookup


I was able to build matplotlib by using MACOSX_DEPLOYMENT_TARGET.  I  
built libpng 1.2.33, freetype 2.3.7 and pkgconfig 0.23 with gcc 4.0.1  
from XCode 3.1.2.  to build and install matplotlib I did

env MACOSX_DEPLOYMENT_TARGET=10.5 python setup.py build
sudo env MACOSX_DEPLOYMENT_TARGET=10.5 python setup.py install

I don't get "Symbol not found:" errors for _png.so now, but negative  
signs on numbers in the axis labels appear as boxes instead of -'s.  I  
may try the freetype in /usr/X11 instead of the one I compiled.

Thanks for all the work on matplotlib,
Scott

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to