Ivan Levchenko <levchenk...@gmail.com> added the comment:

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

----------
nosy: +Ivan Levchenko

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to