freetype problem with 0.98.5.2 on OS X

Hi,

matplotlib 0.98.3 runs fine on my system. However, when I do "ipython
-pylab" with 0.98.5.2 on OS X, I get:

    from matplotlib import ft2font
ImportError: dlopen(/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so,
2): Symbol not found: _FT_Get_PS_Font_Info
  Referenced from:
/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so
  Expected in: /usr/local/lib/libfreetype.6.dylib

I am using the system freetype lib. Does anyone have any hints on
hunting this one down?

Thanks,

Brian

Brian Granger wrote:

Hi,

matplotlib 0.98.3 runs fine on my system. However, when I do "ipython
-pylab" with 0.98.5.2 on OS X, I get:

    from matplotlib import ft2font
ImportError: dlopen(/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so,
2): Symbol not found: _FT_Get_PS_Font_Info
  Referenced from:
/Users/bgranger/Library/Python/2.5/site-packages/matplotlib/ft2font.so
  Expected in: /usr/local/lib/libfreetype.6.dylib

I am using the system freetype lib. Does anyone have any hints on
hunting this one down?

Thanks,

Brian
  
Brian: The "system" freetype lib (that comes with Apple X11) is in /usr/X11/lib, not /usr/local/lib. You must have installed an older version of freetype in /usr/local, which matplotlib linked against.

-Jeff