I @LudovicRousseau do not use this software any more and have no time to take care of it. See "Pam-pkcs#11 needs a new maintainer(s) soon, or it will die" https://sourceforge.net/p/opensc/mailman/message/35191905/
If you want to become the new maintainer just ask me @LudovicRousseau to add you in the https://github.com/orgs/OpenSC/teams/pam_pkcs11-maintainers group.