PC/SC Lite and CardOS API
The PKCS#11 library libsiecap11.so
shipped with CardOS API has been linked to the library libpcsclite.so.0.0.1
which belongs to PC/SC Lite 1.2.0. When the Linux runtime linker loads the PKCS#11 library it tries to resolve this dependency to libpcsclite.so.0
(only the libraries major version is evaluated). The attempt to resolve this dependency fails since PC/SC Lite 1.2.9betaX contains a later version of
libpcsclite.so
(libpcsclite.so.1.0.0
).
This dependency problem can be worked around with the following steps:
libpcsclite.so.1.0.0
is installed on your system (usually /usr/local/lib
or /usr/lib
).
libpcsclite.so.0
to
libpcsclite.so.1.0.0
in that directory (
ln -s libpcsclite.so.1.0.0 libpcsclite.so.0
). Running this
ln
command will usually require root privileges.
This information is given without any warranty. In tests at our side the solution appeared to work stable with PC/SC Lite 1.2.9 beta6.
(*) To support RSA 2048 bit signatures PC/SC Lite v1.2.9 beta6 (or later) must be configured with the parameter--enable-extendedapdu
at
compile time in order to support extended APDUs.