This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ivan Levchenko
Recipients Alex.Willmer, Ivan Levchenko, doko, mhpruitt, pmpp, rbelio, yan12125, zach.ware
Date 2019-01-10.14:31:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547130684.05.0.328024011439.issue31710@roundup.psfhosted.org>
In-reply-to
Content
Was having the same issue compiling python 3.7.1 against locally compilied libffi 3.2.1. 
Setting CPPFLAGS and LDFLAGS was not enough and was still getting the same error: INFO: Could not locate ffi libs and/or headers
Everything worked as soon as i added PKG_CONFIG_PATH to point to the location of the directory that had libffi.pc
For me that was /foo/bar/distrib/libffi-3.2.1/x86_64-unknown-linux-gnu 
Can test if it works with this:
pkg-config libffi --cflags-only-I
History
Date User Action Args
2019-01-10 14:31:25Ivan Levchenkosetrecipients: + Ivan Levchenko, doko, pmpp, zach.ware, Alex.Willmer, yan12125, rbelio, mhpruitt
2019-01-10 14:31:24Ivan Levchenkosetmessageid: <1547130684.05.0.328024011439.issue31710@roundup.psfhosted.org>
2019-01-10 14:31:24Ivan Levchenkolinkissue31710 messages
2019-01-10 14:31:23Ivan Levchenkocreate