Hi All,
I am using matplotlib-0.90.0 with numpy-1.0.1 for my python
program which I later convert in to an executable with the help of
pyinstaller,
I am installing matplotlib-0.90.0 from source and it installs fine.when
I create the executable of my program (I include matplotlib as a .pkg in
it) and run it
I get the following error only on linux , it fails at with this message
matplotlib._ns_transforms.so: undefined symbol:
_ZNSs4_Rep20_S_empty_rep_storage
but same set of source of matplotlib-0.90.0 with numpy-1.0.1 installed
from source works fine on windows and solaris,any idea what is going
wrong here?
I am using gcc version 3.4.3 on red hat linux 2.6.9-11
Here is the complete stack trace
====================
Extracting mpl-data.pkg data ... ok
Extracting numpy.pkg data ... ok
working dir /home/rik/output/var/projects
/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib:931:
UserWarning: Could not find matplotlibrc; using defaults
/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib:982:
UserWarning: could not find rc file; returning defaults
The import of the numpy version of the _transforms module,
_ns_transforms, failed. This is is either because numpy was
unavailable when matplotlib was compiled, because a dependency of
_ns_transforms could not be satisfied, or because the build flag for
this module was turned off in setup.py. If it appears that
_ns_transforms was not built, make sure you have a working copy of
numpy and then re-install matplotlib. Otherwise, the following
traceback gives more details:
Traceback (most recent call last):
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/exe_harness",
line 97, in __init__
File "<string>", line 69, in dispatch
File "<string>", line 109, in handleReportRequest
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/convert_dom",
line 12, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/report", line
29, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/page_setup",
line 14, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/graph_view",
line 11, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File "/home/rik/are_new/exe/linux/buildare_top/out1.pyz/pylab", line
1, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File
"/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib.pylab",
line 203, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File
"/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib.axes",
line 14, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File
"/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib.artist",
line 4, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File
"/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib.transforms
", line 223, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 398, in doimport
exec co in mod.__dict__
File
"/home/rik/are_new/exe/linux/buildare_top/out1.pyz/matplotlib._transform
s", line 17, in ?
File "/home/rik/pyinstaller-1.3/iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/home/rik/pyinstaller-1.3/iu.py", line 373, in doimport
mod = importfunc(nm)
File "/home/rik/pyinstaller-1.3/iu.py", line 215, in getmod
mod = owner.getmod(nm)
File "/home/rik/pyinstaller-1.3/archive.py", line 409, in getmod
return iu.DirOwner.getmod(self, self.prefix+'.'+nm)
File "/home/rik/pyinstaller-1.3/iu.py", line 77, in getmod
mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
ImportError: /tmp/_MEI22558/matplotlib._ns_transforms.so: undefined
symbol: _ZNSs4_Rep20_S_empty_rep_storageE
Regards
Rishi
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users