AIX Open Source

 View Only
Expand all | Collapse all

PYPI cffi installation couldn't find AIX Toolbox library libffi

  • 1.  PYPI cffi installation couldn't find AIX Toolbox library libffi

    Posted Thu April 27, 2023 12:09 PM

    Hi,

    I got following error when installing PYPI cffi package using PIP. We have AIX Toolbox's libffi 3.4.2 installed (I already added the /opt/freeware/lib into $PKG_CONFIG_PATH. But in that location, there is only libffi.a and libffi.so.8). I see in some old posted message, the location /RPMS/ppc/libffi/ was mentioned. But our server doesn't have /RPMS folder. So please help.

    "Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found"


    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------


  • 2.  RE: PYPI cffi installation couldn't find AIX Toolbox library libffi

    Posted Fri April 28, 2023 03:10 AM

    Please check whether you have libffi-devel rpm installed. This rpm provides the necessary header files and .pc (pkgconfig) files. 



    ------------------------------
    Ayappan P
    ------------------------------