[IPython-User] ipython and libstdc++
Robert McGibbon
rmcgibbo@gmail....
Fri Nov 30 06:42:41 CST 2012
Is the difference between stuff being in /software but the dynamic loader seeming to
look (from the error message) in /usr/lib relevant?
Perhaps you could rebuild ftfont.so an RPATH?
If it were me, might just make a little shell script that does the line you showed, and alias
it to ipython notebook...
-Robert
On Nov 30, 2012, at 4:32 AM, Rita wrote:
> Similar to this post, http://mail.scipy.org/pipermail/ipython-user/2012-March/009752.html
>
> I have been having problems with invoking pylab in a notebook environment.
>
>
> When I try to import pylab i a notebook environment I get this
>
> importError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not
> ound (required by ..python2.7/site-packages/matplotlib/ft2font.so
>
> Admittedly, I have multiple GCCs on my system and I am certain the GCC i compiled python with should be used. When I do an ldd against the ft2font.so it resolved to the correct libstdc++ (my gcc version not OS). When I run something like this,
>
> LD_PRELOAD=/software/gcc-4.6.3/lib64/libstdc++.so.6 /software/python/bin/ipython notebook --profile=foo --pylab inline
>
> everything works.
>
> Is there a better way to do this?
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121130/2273001b/attachment.html
More information about the IPython-User
mailing list