I am trying to use opensc-pkcs11.so which I have built on Redhat linux 5. However, when I try to use in a sample program it is giving a linking error:
main.cpp:(.text+0x265): undefined reference to `C_Initialize'
The sample code snippet is as follows:
int main()
{
CK_RV l_rv = 0;
l_rv = C_Initialize(NULL_PTR);
//other staffs ...
}
If I see the nm output of opensc-pkcs11.so it is showing:
-bash-3.2$ nm opensc-pkcs11.so |grep C_Initialize
0000000000008c70 t C_Initialize
What is the meaning of 't'? I see it is not 'T'. But is also not 'U'. Can anybody suggest what is happening? Thanks in advance.