librados2 from Ubuntu 18 is incompatible with newer libstdc++ due to containing duplicate symbols
yale at pilot.ai
Fri Sep 10 22:29:30 UTC 2021
I'm using some early stage commercial software which requires installing
libstdc++ from GCC 11 on Ubuntu 18 while still using the headers from GCC
7.5. My understanding is newer libstdc++6.so is compatible with older
This setup works pretty well, but once you link to librados2.so, even a
simple cout statement fails. The reason is because librados2 exports many
functions that should only be in libstdc++6. Those will take
precedence over the ones from libstdc++6 and cause incompatibilities.
Appreciate if you can fix that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ubuntu-devel-discuss