ImportError: libffi.so.7
Published: September 5, 2023 - 11:00 AM
Hello,
We would like to update our Wapt server from version 2.3 to version 2.4 by following the documentation below:
- https://www.wapt.fr/fr/doc/wapt-server-upgrade.html
All the steps of the update worked except the last one, launching postconf.sh. I get the error message below.
Indeed, we only have the libffi.so.7 library installed, only version 8.
root@xxxxxxxxxxxxx:/opt/wapt/waptserver/scripts# ./postconf.sh
Traceback (most recent call last):
File "/opt/wapt/waptserver/scripts/postconf.py", line 46, in
from setuphelpers import type_debian, type_redhat, run, mkdirs, get_distrib_version, Version, get_disk_free_space
File "/opt/wapt/setuphelpers.py", line 23, in
import ctypes
File "/opt/wapt/lib/python3.8/ctypes/__init__.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory
Is this a known issue on your end?
We would like to update our Wapt server from version 2.3 to version 2.4 by following the documentation below:
- https://www.wapt.fr/fr/doc/wapt-server-upgrade.html
All the steps of the update worked except the last one, launching postconf.sh. I get the error message below.
Indeed, we only have the libffi.so.7 library installed, only version 8.
root@xxxxxxxxxxxxx:/opt/wapt/waptserver/scripts# ./postconf.sh
Traceback (most recent call last):
File "/opt/wapt/waptserver/scripts/postconf.py", line 46, in
from setuphelpers import type_debian, type_redhat, run, mkdirs, get_distrib_version, Version, get_disk_free_space
File "/opt/wapt/setuphelpers.py", line 23, in
import ctypes
File "/opt/wapt/lib/python3.8/ctypes/__init__.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory
Is this a known issue on your end?