[IPython-User] ipython and libstdc++

David Warde-Farley d.warde.farley@gmail....
Sun Dec 2 03:17:58 CST 2012


Seeing as the offending module is within matplotlib, this is probably
better addressed to the matplotlib-users list:

http://sourceforge.net/mail/?group_id=80706

On Fri, Nov 30, 2012 at 8:29 AM, Rita <rmorgan466@gmail.com> wrote:
> Oddly enough, if i run pylab without ipython notebook I am able to graph. It
> seems its a bug with ipython notebook.  When compiling it are there options
> to do rpath ?
>
>
>
> On Fri, Nov 30, 2012 at 8:19 AM, Rita <rmorgan466@gmail.com> wrote:
>>
>> Even after I compiled libfreetype.so.6 (dependency of ft2font.so) I still
>> get the GLIBC error. ldd shows the proper path.
>>
>> Not sure what else needs to be done. Maybe this is a bug in matplotlib?
>>
>>
>>
>> On Fri, Nov 30, 2012 at 7:50 AM, Rita <rmorgan466@gmail.com> wrote:
>>>
>>> The bizzare problem is f2ffont.so is actually resolving to the correct
>>> libstdc++
>>> Perhaps, all the libraries that link to f2ffont.so should also be
>>> pointing to the correct libstdc++? I noticed freetype wasn't. Let me try to
>>> fix that with rpath
>>>
>>> Certainly, I can do the shell script and everything will work but was
>>> just curious why this was occuring :-)
>>>
>>>
>>>
>>> On Fri, Nov 30, 2012 at 7:42 AM, Robert McGibbon <rmcgibbo@gmail.com>
>>> wrote:
>>>>
>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-User mailing list
>>>> IPython-User@scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>>>
>>>
>>>
>>>
>>> --
>>> --- Get your facts first, then you can distort them as you please.--
>>
>>
>>
>>
>> --
>> --- Get your facts first, then you can distort them as you please.--
>
>
>
>
> --
> --- 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
>


More information about the IPython-User mailing list