On Sun, Nov 23, 2014 at 12:27 AM, Stelian Ionescu sionescu@cddr.org wrote:
Most often than not, but I know of cases where the headers for the current version of a library are put directly under /usr/include, whereas the older versions are in subdirectories of /usr/include and require pkg-config, and therefore if pkg-config is not used, the CFFI code will be compiled against the wrong(newer) library. IIRC, this is the case with BerkeleyDB and Postgres's libpq on some distributions.
OK, that makes sense. In this particular case, though, we're not specifying any version:
#+linux (pkg-flags "libffi")
How are versions specified in pkg-config and how do they relate with the major version in the .so file name? (I googled a little bit for examples but couldn't find any.)