:: Re: [devuan-dev] python lib error
Forside
Slet denne besked
Besvar denne besked
Skribent: Kees Schoenmakers
Dato:  
Til: devuan developers internal list
Emne: Re: [devuan-dev] python lib error
hello Jormil,

it was a clean install....

regards

kees

On 8/7/17, Jaromil <jaromil@???> wrote:
>
> hi Kees and Aldemir,
>
> On Mon, 07 Aug 2017, Aldemir Akpinar wrote:
>
>>    On 6 August 2017 at 23:54, Kees Schoenmakers <[1]kslinux@???>
>> wrote:
>>      ImportError: /usr/lib/i386-linux-gnu/libstdc++.so.6: version
>>      `GLIBCXX_3.4.21' not found (required by
>>      /usr/local/lib/python2.7/dist-packages/matplotlib/_image.so)

>>
>>      Is there a way to get rid of this error?
>>      (own kernel)
>>      Linux version 4.9.16 (root@schoenws) (gcc version 4.9.2 (Debian
>>      4.9.2-10) ) #3 SMP Thu Aug 3 01:23:51 CEST 2017

>>
>>      Distributor ID: Devuan
>>      Description:    Devuan GNU/Linux 1.0 (jessie)
>>      Release:        1.0
>>      Codename:       jessie
>>      <snip>

>>
>>
>>    Did you remove previous entries from apt.conf before switching?
>>    You got the wrong kernel version, and you got that error because
>>    python library expects a different glibc version.

>
> to me it looks like Kees is compiling his own kernel, which should be
> completely fine.
>
> the error refers to ABI incompatibility on C++ shared objects, which
> is pretty common and one may even find some online documentation about
> it.
>
> what you need to make sure is that matplotlib's DSO (_image.so) is
> compiled on the same system where it is running, or better is compiled
> and linked to the very same libstc++ that you have installed.
>
> rather than recompiling the right libstdc++ version, I suggest you
> investigate where your current matplotlib package comes from and
> eventually compile your own on this machine.
>
> If both the matplotlib and the libstc++ packages come from Devuan
> Jessie, then they actually come from Debian and this may be a bug.
>
> ciao
>
>
>
> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev
>