GLib compile error (ffi.h), but libffi is installed

后端 未结 5 1915
囚心锁ツ
囚心锁ツ 2021-02-02 04:36

After a succesful configure, make exits with snipped

gclosure.c:29:17: fatal error: ffi.h: No such file or directory
compilation terminated.
         


        
5条回答
  •  星月不相逢
    2021-02-02 05:14

    If you have a Debian-based Linux OS with apt-get:

    sudo apt-get install libffi-dev
    

    With a Redhat-base OS:

    yum install libffi-devel
    

    With Alpine Linux:

    apk add libffi-dev
    

提交回复
热议问题