Matt Pruitt <> added the comment:

Also ran into this issue while building Python in an isolated environment.  
Realized that libffi is installing into the $EPREFIX/lib64 directory of our 
build environment.

Despite pkg-config returning the correct directory for linking libffi, it took 
explicitly setting LDFLAGS to the correct lib64 directory in my build process 
for the Python build to succeed.

I noticed from your build.log that you don't explicitly add your lib64 to your 
LDFLAGS.  Perhaps give that a shot?

nosy: +mhpruitt

Python tracker <>
Python-bugs-list mailing list

Reply via email to