Reputation: 8491
I have setup soft Eracom Safenet HSM in Linux.
I am facing a problem regarding Safenet Eracom HSM, when ever I request for token initialization got this error
UnsatisfiedLinkError: no jcprov in java.library.path
Upvotes: 0
Views: 2742
Reputation: 8491
Solution
I just added below path in .bashrc file for corresponding user.
export LD_LIBRARY_PATH=/opt/PTK/lib
Then restarted the terminal after that it worked nicely.
Upvotes: 0
Reputation: 15906
Add jcprov containing directory to LD_LIBRARY_PATH
export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/your/path/of/Containing/Directory
Upvotes: 1