It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on.
ImportError: dlopen(/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/_backend_gdk.so, 2): Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/_backend_gdk.so Reason: Incompatible library version: _backend_gdk.so requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 Cheers, Mike Antonino Cucchiara wrote: > Hi Mike, > I re-install the astronomy scisoft package and now the segmentation > fault is not anymore present when I import matplotlib.mathtext. > But when I import pylab I have the following error. > I think it's something related with my backend choise. I tried to > change all the GUI possibilities in my matplotlibrc file but the error > is still present. > I attached the gdb python output (I don't know if it helps) and the > output of my "import pylab" command > > > > Michael Droettboom wrote: >> We need some more information. >> >> Can you set "verbose.level" to "debug-annoying" in your >> ~/.matplotlib/matplotlibrc file? >> >> Also, if you have the development tools (XCode) installed on your >> mac, can you run python in gdb? >> >> > gdb python >> GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh) >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and >> you are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for >> details. >> This GDB was configured as "i386-redhat-linux-gnu"...Using host >> libthread_db library "/lib/tls/libthread_db.so.1". >> >> (gdb) run -c "import pylab" >> >> ... and send us the output... >> >> Cheers, >> Mike >> >> >> Antonino Cucchiara wrote: >>> Hello, >>> I am experiencing a problem recently on my Mac OsX. >>> When I try to import mathplotlib.mathtext or pylab I received a >>> segmentation fault error. >>> >>> It wasn't like that before, and I recently update my matplotlib and >>> scipy via fink. >>> It worked fine few weeks ago. >>> >>> I hope someone can help me. >>> Thanks, >>> Nino >>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save >>> $100. Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users