Install libpam-ocaml-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-ocaml-dev
OCaml bindings for the PAM library (development files)
OCamlPAM is a wrapper for the Pluggable Authentication Modules (PAM) library. PAM provides a flexible mechanism for authenticating users via administrator-defined policies. PAM has modules for authenticating via Unix passwd files, Kerberos, LDAP, etc. Additional modules for custom authentication mechanisms can be created and deployed without recompiling existing services based on PAM. Moreover, policies defining the authentication requirements can be changed at runtime without restarting running services. . This package contains the development stuff you need to use the OCamlPAM library in your programs.