Install libffi-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libffi-dev
Description:
Foreign Function Interface library (development files)
This package contains the headers and static library files necessary for building programs which use libffi. . A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.
Version: 3.2.1-8
Section: libdevel