note: make sure to include the list, it doesn't look like you did.
John Seales wrote:
Here's what it says:
$ file ft2font.so
ft2font.so: Mach-O universal binary with 2 architectures
ft2font.so (for architecture i386): Mach-O bundle i386
ft2font.so (for architecture ppc): Mach-O bundle ppc
that's right, but now I see that that wasn't the issue anyway:
> > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib
> > Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so
ft2font is relying on libfreetype. I think that's the one that Apple delivers with their X11 (I know I have it, anyway), but I think X11 is an optional install, so you may not have it.
Is that file there? ON my system:
$ file /usr/X11R6/lib/libfreetype.6.dylib
/usr/X11R6/lib/libfreetype.6.dylib: symbolic link to `libfreetype.6.3.dylib'
$ file /usr/X11R6/lib/libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.6.3.dylib: Mach-O dynamically linked shared library ppc
so I have it, and it's a ppc lib, which makes sense, as I'm running on a ppc machine.
If you don't have it, probably the easiest thing to do is install Apple's X11 -- otherwise, perhaps MPL should be built against a static libfreetype.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception