Archived Forum Post

Index of archived forum posts

Question:

Chilkat not working on Raspberry 3 and Raspbian Jessy

Jun 15 '17 at 06:47

Hello,

i installed Raspian on a RP3 and try to get chilkat working. I installed python and i think i have all the preq. But unfortunately its not working. The installChilkat.py works without an error but on testChilkat.py i get:

Traceback (most recent call last):

File "testChilkat.py", line 1, in <module> import chilkat File "/usr/local/bin/chilkat-9.5.0-python-3.4-armv7l-linux/chilkat.py", line 28, in <module> _chilkat = swig_import_helper() File "/usr/local/bin/chilkat-9.5.0-python-3.4-armv7l-linux/chilkat.py", line 24, in swig_import_helper _mod = imp.load_module('_chilkat', fp, pathname, description) File "/usr/lib/python3.4/imp.py", line 243, in load_module return load_dynamic(name, filename, file) ImportError: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/bin/chilkat-9.5.0-python-3.4-armv7l-linux/_chilkat.so)

I google for this error but nothing will help me. My System is up to date and has all current patches. I downloaded https://chilkatdownload.com/9.5.0.68/chilkat-9.5.0-python-3.4-armv7l-linux.tar.gz and i think its right version because i cant install other versions.

I appreciate any help, thanks.


Accepted Answer

Thread can be closed, i did the following:

Edit the package source file with sudo nano /etc/apt/sources.list

Replace jessie with stretch in that file to point to the testing repository that has the gcc-5 package

sudo apt-get update to refresh the list of packages

sudo apt-get install gcc-5 to install the newer package