Reputation: 91
Lets say we installed our PKCS#11 project in one system successfully and library saved in '/usr/local/lib/'. Also it's working fine(able to load pkcs#11 lib module in applications).
Now how can we load the module in other system with the same library...!
Upvotes: 0
Views: 3940
Reputation: 91
Have taken the shared library of pkcs#11 module and also dependent library.
Checked the dependencies of shared library using command - 'ldd'
Based on result of 'ldd libpkcsmod.so', have installed required packages and copied dependent library to /usr/local/lib/.
Finally run the 'ldconfig' in order to create, update, and remove the necessary links and cache (for use by the run-time linker, ld.so) to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/usr/lib, /lib64 and /lib).
Finally able to load the pkcs#11 module in the applications like- Thunderbird, firefox e.t.c..
Upvotes: 1