use-devel-checklib

module for checking the availability of a library

Install

All systems
curl cmd.cat/use-devel-checklib.sh
Debian Debian
apt-get install libdevel-checklib-perl
Ubuntu
apt-get install libdevel-checklib-perl
Arch Arch Linux
pacman -S perl-Devel-CheckLib
image/svg+xml Kali Linux
apt-get install libdevel-checklib-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libdevel-checklib-perl
Raspbian
apt-get install libdevel-checklib-perl

libdevel-checklib-perl

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.

perl-Devel-CheckLib

Check that a library is available