libffi header not found under (some) linux distros

Bug #974396 reported by Sumant Oemrawsingh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CFFI
Fix Released
Undecided
Unassigned

Bug Description

When using FSBV, e.g. for GSLL, the header of libffi is not found on at least some linux distros. The reason for this is that the header is placed in a non-standard location. Pkg-config gives the correct flags to find the header and the library (if they are in a non-standard location).

# ffi.h is located in /usr/lib64/libffi-3.0.10/include which is a non-standard location
$ pkg-config libffi --cflags
-I/usr/lib64/libffi-3.0.10/include

# libffi.so.5 is located in /usr/lib64/ which is a standard location
$ pkg-config libffi --libs
-lffi

Perhaps adding support for pkg-config for linux and other os'es that support pkg-config is in general a good thing to do.

CFFI libffi branch, commit c5aea35f9c2a9b763499d6d9e4ea12d29132db08
SBCL 1.0.55
Gentoo amd64

Revision history for this message
Luís Oliveira (luismbo) wrote :

Should be fixed now in the master branch. We're using pkg-config now.

Changed in cffi:
status: New → Fix Committed
Luís Oliveira (luismbo)
Changed in cffi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.