use-devel-checklib
module for checking the availability of a library
Install
- All systems
-
curl cmd.cat/use-devel-checklib.sh
- Debian
-
apt-get install libdevel-checklib-perl
- Ubuntu
-
apt-get install libdevel-checklib-perl
- Arch Linux
-
pacman -S perl-Devel-CheckLib
- 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
- Dockerfile
- dockerfile.run/use-devel-checklib
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.