[issue40367] ImportError: libffi.so.6

2020-05-23 Thread YoSTEALTH


YoSTEALTH  added the comment:

How did you get the Python installed in /opt/python/3.8.1?
- I custom installed python.

Maybe it was compiled against libffi 6, then you updated the system to libffi 
7, so that Python would need a rebuild.
- Yes, you are right about this.

So i did rebuild and no problems, Thanks :)

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40367] ImportError: libffi.so.6

2020-05-02 Thread Filipe Laíns

Filipe Laíns  added the comment:

Éric's assessment seems correct.

libffi-3.2 (which provided libffi.so.6) got dropped as a dependency from libffi 
a few weeks ago.

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/libffi=edbab26c1cbebe62bb9a5ef55a5e0eaf3481a399

Add 2 weeks for the Manjaro repos to pull the change. The timing seems correct. 
You just need to rebuild your python installation in /opt/python/3.8.1 
(although having an installation there seems very odd, does the default 
installation not worlK).

Please let me know if the issue still proceeds after rebuilding, otherwise this 
should be closed :)

--
nosy: +FFY00

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40367] ImportError: libffi.so.6

2020-05-02 Thread Filipe Laíns

Filipe Laíns  added the comment:

typo: does the default installation not worlK
 *does the default installation not work?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40367] ImportError: libffi.so.6

2020-04-24 Thread Éric Araujo

Éric Araujo  added the comment:

How did you get the Python installed in /opt/python/3.8.1?

Maybe it was compiled against libffi 6, then you updated the system to libffi 
7, so that Python would need a rebuild.

--
nosy: +eric.araujo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40367] ImportError: libffi.so.6

2020-04-22 Thread YoSTEALTH


New submission from YoSTEALTH :

>>> /opt/python/3.8.1/lib/python3 setup.py build_ext --inplace


Traceback (most recent call last):
  File "./setup.py", line 1, in 
from setuptools import setup, find_packages
  File "/opt/python/3.8.1/lib/python3.8/site-packages/setuptools/__init__.py", 
line 19, in 
from setuptools.dist import Distribution
  File "/opt/python/3.8.1/lib/python3.8/site-packages/setuptools/dist.py", line 
34, in 
from setuptools import windows_support
  File 
"/opt/python/3.8.1/lib/python3.8/site-packages/setuptools/windows_support.py", 
line 2, in 
import ctypes
  File "/opt/python/3.8.1/lib/python3.8/ctypes/__init__.py", line 7, in 
from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or 
directory



"libffi 3.3-3" on "5.6.5-3-MANJARO" is installed as:

/usr/lib/libffi.so
/usr/lib/libffi.so.7
/usr/lib/libffi.so.7.1.0
...


Maybe `_ctypes` should try to find "libffi.so" vs "libffi.so.6" ?

--
components: ctypes
messages: 367048
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: ImportError: libffi.so.6
type: compile error

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com