:: Re: [devuan-dev] python lib error
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kees Schoenmakers
Ημερομηνία:  
Προς: devuan developers internal list
Αντικείμενο: Re: [devuan-dev] python lib error
Hello Aldemir,

It was a clean install...

regards

Kees

On 8/7/17, Aldemir Akpinar <aldemir.akpinar@???> wrote:
> On 6 August 2017 at 23:54, Kees Schoenmakers <kslinux@???> wrote:
>
>> Hello,
>>
>> Recently switched over to Devuan, I'm happy!. Everything works normally.
>> I downloaded faltcam and it uses some libraries. I get the following
>> error:
>>
>> kees@schoenws:~/embedded/CNC/flatcam/flatcam$ flatcam
>> Traceback (most recent call last):
>>   File "./flatcam", line 13, in <module>
>>     from FlatCAMApp import App
>>   File "/home/kees/embedded/CNC/flatcam/flatcam/FlatCAMApp.py", line
>> 30, in <module>
>>     from ObjectCollection import *
>>   File "/home/kees/embedded/CNC/flatcam/flatcam/ObjectCollection.py",
>> line 10, in <module>
>>     from FlatCAMObj import *
>>   File "/home/kees/embedded/CNC/flatcam/flatcam/FlatCAMObj.py", line
>> 15, in <module>
>>     from camlib import *
>>   File "/home/kees/embedded/CNC/flatcam/flatcam/camlib.py", line 16, in
>> <module>
>>     from matplotlib.figure import Figure
>>   File "/usr/local/lib/python2.7/dist-packages/matplotlib/figure.py",
>> line 35, in <module>
>>     from matplotlib import image as mimage
>>   File "/usr/local/lib/python2.7/dist-packages/matplotlib/image.py",
>> line 27, in <module>
>>     import matplotlib._image as _image
>> 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.
> It seems like you have a bunch of different packages installed altogether.
> What are the contents of your /etc/apt/apt.conf? And what does dpkg -l
> libc6 and dpkg -l linux-image* show?
>
> Regards,
> --
> aldemir
>