May 26, 2018

Check that a library is available for FFI

FFICheckLib checks whether a particular dynamic library is available for FFI to use. It is modeled heavily on DevelCheckLib, but will find dynamic libraries even when development packages are not installed. It also provides a find_lib function that will return the full path to the found dynamic library, which can be feed directly into FFIPlatypus or FFIRaw.

Although intended mainly for FFI modules via FFIPlatypus and similar, this module does not actually use any FFI to do its detection and probing. This module does not have any non-core runtime dependencies. The test suite does depend on Test2Suite.

WWW http//