Install libp11-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libp11-dev
pkcs#11 convenience library - development files
Libp11 is a library to simplify using smart cards via PKCS#11 modules. It was spun of the OpenSC project but can be used with any pkcs#11 module. . This package contains the header files and static libraries.