Closed UnixJunkie closed 4 years ago
libffi-dev is needed to be installed system-wide. The opam package doesn't say anything about this.
Do you have ctypes-foreign
installed?
It should be possible to install ctypes
without libffi
, but the combination of ctypes-foreign
and ctypes
requires libffi
.
Yes I have ctypes-foreign. Though, I never installed it explicitly. It probably came as a dependency of some other package.
In that case the options are:
ctypes-foreign
libffi
Is it ctypes-foreign that should trigger the install of libffi-dev?
Yes: opam depext ctypes-foreign
should install libffi
on your system.