Binary package “libdevel-checklib-perl” in ubuntu bionic

module for checking the availability of a library

 Devel::CheckLib is a perl module that checks whether a particular C library
 and its headers are available.
 .
 It works by trying to compile some code and linking it to the specified
 libraries. If something pops out the end which looks executable, it gets
 executed. That tiny program is built once for each specified library, and
 (without linking) once for each header file.
 .
 It is also possible to check for the presence of particular functions in a
 library, or even that those functions return particular results.