Hi,
I'm creating a stand alone program on my mac with OSX 10.4 and it seems to
work great on it. However, if I transfer my program to a snow leopard (10.6)
mac, I get the error:
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/__boot__.py",
line 158, in
_run('RAW.py')
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/__boot__.py",
line 134, in _run
execfile(path, globals(), globals())
File "/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/RAW.py", line
23, in
from pylab import setp
File "pylab.pyc", line 1, in
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/pylab.py",
line 206, in
from matplotlib import mpl # pulls in most modules
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/mpl.py",
line 2, in
from matplotlib import axis
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/axis.py",
line 10, in
import matplotlib.font_manager as font_manager
File
"/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py",
line 52, in
from matplotlib import ft2font
ImportError
:
dlopen(/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/ft2font.so,
2): Symbol not found: _FT_Load_Glyph
Referenced from:
/Volumes/KINGSTON/Mac/RAW.app/Contents/Resources/lib/python2.6/matplotlib/ft2font.so
Expected in: dynamic lookup
A search on it came up with someone having the same problem (
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14252.html),
but the cause doesn't seem to be exactly the same since as my ft2font.so is
linked correctly against /usr/lib/libgcc_s.1.dylib ?
heres the otool info:
/opt/local/lib/libfreetype.6.dylib (compatibility version 11.0.0, current
version 11.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.3)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
(compatibility version 1.0.0, current version 18.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
(compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version
47.1.0)
I installed all packages and python 2.6 using Macports. Does anyone see the
problem here?
Soren
--
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