On Tue, Mar 6, 2012 at 12:26 PM, Jorge Scandaliaris
<jorgesmbox...@yahoo.es>wrote:

> Benjamin Root <ben.root@...> writes:
>
>
> >
> > Strange.  Could you include the entire sphinx output as well as any logs
> > that the build produced?Ben Root
> >
>
> Somehow I assumed that matplotlib itself was OK, but I just discovered
> something new:
>
> In [1]: import matplotlib.mathtext
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> /home/jscandal/<ipython-input-1-06d3562c96cd> in <module>()
> ----> 1 import matplotlib.mathtext
>
> /home/jscandal/sw/matplotlib/matplotlib.git/lib/matplotlib/mathtext.py in
> <module>()
>     59
>     60 import matplotlib.colors as mcolors
> ---> 61 import matplotlib._png as _png
>     62 ####################
>     63
>
> ImportError: libpng14.so.14: cannot open shared object file: No such
> file or directory
>
> Looking .../lib/matplotlib there are a few .so file and one is _png.so
> (shipped by matplotlib) which seem to require libpng14:
>
> $ ldd _png.so
>        linux-vdso.so.1 =>  (0x00007fffd3bff000)
>        libpng14.so.14 => not found
>        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fad573ff000)
>        libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0
> (0x00007fad5703f000)
>        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fad56e29000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fad56c0d000)
>        libc.so.6 => /lib/libc.so.6 (0x00007fad5686b000)
>        libm.so.6 => /lib/libm.so.6 (0x00007fad56577000)
>        /lib/ld-linux-x86-64.so.2 (0x00007fad57964000)
>        libdl.so.2 => /lib/libdl.so.2 (0x00007fad56373000)
>        libutil.so.1 => /lib/libutil.so.
>
>
> Does that give you any clue?
>
> Thanks,
>
> Jorge
>
>
You might need to do a complete rebuild of your mpl trunk.  I would guess
that you originally built mpl when you had the older version of libpng.
When you updated the library, that wouldn't trigger a relink of _png.so
whenever you rebuilt the trunk.  Wipe out the _png.so file and rebuild.

Ben Root
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to