
16 Feb
2012
16 Feb
'12
10:35 p.m.
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