|
Boost Users : |
Subject: Re: [Boost-users] Boost Python and Crypto++
From: Václav Zeman (v.haisman_at_[hidden])
Date: 2012-02-16 17:35:24
On 02/16/2012 02:35 PM, Boost Users List wrote:
> 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
like a Python problem. Are you linking with the appropriate -lfoo switches?
-- VZ
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net