First, since you said you used pkg-config I would like to know what libfreetype the ft2font.so lib is actually linked against. Can you issue an otool -L ft2font.so in the matplotlib's directory? This will tell you what libs are used.
I think most important is the compiler used, but since you are on 10.4 apparently, I don't know what the recent compiler for you is. Is it gcc-4.0? (It seems to be.) Are there other gcc's around which could have been used for the libfreetype2, or for Python itself? Can you issue in a clean shell gcc --version, and it seems you used c++ as the command for .cpp sources, right, so can you issue c++ --version too? And what were your steps to get it build from the weird errors you posted before (I didn't get a clue from them). I don't know if I can help you but at least I can try to, right .... Friedrich 2010/6/25 Ranjit Chacko <rjcha...@gmail.com>: > I finally somehow managed to get matplotlib to compile but now when I try to > import matplotlib.pyplot I get the following error: > > ImportError: > dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ft2font.so, > 2): Symbol not found: _FT_Attach_File > Referenced from: > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ft2font.so > Expected in: dynamic lookup ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users