On 22/05/15 18:07, Ilya Bizyaev wrote:
> By the way, the Crypto++ version from the default Ubuntu repository still doesn't work.
>
Since C++ doesn't have a strict ABI and you upgraded to a new major
release of a compiler (
http://semver.org/), you indeed have to rebuild
everything you want to link to.
The crypto++ version from the default ubuntu repository indeed is a
problem. You should contact it's maintainer, so he or she can recompile
and push a new .deb, although I don't know whether GCC5 is default on
Ubuntu already.
For C code these things don't give problems because of the strictly
defined ABI, but C++ is very loose, you can't mix compiled binaries
across compilers and - apparently - their versions.
Please keep in mind that this only counts for linking/compiling C++
code, not for running it; you just should have all dynamically linked
libraries compiled with the same compiler and version.
I hope this makes sense to you.
Ruben