From: Khare, R. <Ris...@fa...> - 2007-03-12 15:32:34
|
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 =20 matplotlib._ns_transforms.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storage =20 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 =20 Here is the complete stack trace =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =20 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: =20 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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _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 =3D _self_doimport(nm, ctx, fqname) File "/home/rik/pyinstaller-1.3/iu.py", line 373, in doimport mod =3D importfunc(nm) File "/home/rik/pyinstaller-1.3/iu.py", line 215, in getmod mod =3D 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 =3D imp.load_module(nm, fp, attempt, (ext, mode, typ)) ImportError: /tmp/_MEI22558/matplotlib._ns_transforms.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE =20 Regards Rishi This email and any files transmitted with it are confidential, proprietar= y and intended solely for the individual or entity to whom they are address= ed. If you have received this email in error please delete it immediately. =0D |