:: 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,

cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory

cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386
NETINST Binary-1 20170522-03:38]/ jessie main non-free

#deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386
NETINST Binary-1 20170522-03:38]/ jessie main non-free

deb http://nl.mirror.devuan.org/merged/ jessie main
deb-src http://nl.mirror.devuan.org/merged/ jessie main

# jessie-security, previously known as 'volatile'
deb http://nl.mirror.devuan.org/merged/ jessie-security main non-free
deb-src http://nl.mirror.devuan.org/merged/ jessie-security main non-free

# jessie-updates, previously known as 'volatile'
deb http://nl.mirror.devuan.org/merged/ jessie-updates main non-free
deb-src http://nl.mirror.devuan.org/merged/ jessie-updates main non-free

deb http://auto.mirror.devuan.org/merged jessie-backports main

dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
ii  libc6:i386              2.19-18+deb8u10  i386             GNU C
Library: Shared libraries


dpkg -l linux-image*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
un  linux-image             <none>           <none>           (no
description available)
ii  linux-image-3.16.0-4-68 3.16.43-2+deb8u2 i386             Linux
3.16 for modern PCs
ii  linux-image-686-pae     3.16+63          i386             Linux
for modern PCs (meta-package)


But I run the 4.9 kernel...

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
>