Boost Python and Crypto++

Hi,
I'm trying to use Crypto++ with boost::python. My code seems to build OK,
but when I try to import it into Python, I receive this error:
ImportError: nf_decrypt.so: undefined symbol:
_ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairsE
Here is the cpp source code file:
#include

Hi,
I'm trying to use Crypto++ with boost::python. My code seems to build OK, but when I try to import it into Python, I receive this error:
ImportError: nf_decrypt.so: undefined symbol: _ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairsE [...] "_ZN8CryptoPP21SimpleKeyingInterface6SetKeyEPKhmRKNS_14NameValuePairsE" symbol is "CryptoPP::SimpleKeyingInterface::SetKey(unsigned char const*, unsigned long, CryptoPP::NameValuePairs const&)". This does not sound
On 02/16/2012 02:35 PM, Boost Users List wrote: like a Python problem. Are you linking with the appropriate -lfoo switches? -- VZ
participants (2)
-
Boost Users List
-
Václav Zeman