You are not logged in.

#1 2020-04-14 07:59:21

kongeor
Member
Registered: 2013-12-08
Posts: 6

Python libffi error with aws cli

Hello,

I'm using python 3.8 (with pyenv), although I assume this will be an issue with the python in arch repos.

After last upgrade, aws-cli was broken:

ImportError: libffi.so.6: cannot open shared object file: No such file or directory

The exact version is aws-cli/1.16.290 Python/3.8.0 Linux/5.6.3-arch1-1 botocore/1.13.26.

Installing libffi6 from AUR did resolve this as suggested from dancju on the corresponding bug that was opened: https://bugs.archlinux.org/task/66222

I guess other libs can also be affected by this issue - but could be wrong.

I wasn't sure if I should post this but in the end I thought it may be useful mainly because multiple python versions can be affected.

Offline

#2 2020-04-14 08:09:05

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,655
Website

Re: Python libffi error with aws cli


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-04-14 13:27:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,421

Re: Python libffi error with aws cli

the version of aws-cli in repo[1] is 1.18.37-1 .
You either didn't run a full update , or are using aws-cli from another source.
Since archlinux never had an aws-cli 1.16.290 package, another source seems likely .

Are you using pip to install things systemwide ?


[1] https://www.archlinux.org/packages/comm … y/aws-cli/


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2020-04-14 13:57:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,655
Website

Re: Python libffi error with aws cli

Good catch on the aws-cli version. The standout package version to me was python 3.8.0 -- which is from October last year. The version of python in the repos is 3.8.2, and had a rebuild for this soname bump a few days ago: https://git.archlinux.org/svntogit/pack … e6f39ab1fb


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB