librados2 from Ubuntu 18 is incompatible with newer libstdc++ due to containing duplicate symbols
Yale Zhang
yale at pilot.ai
Fri Sep 10 22:29:30 UTC 2021
Ubuntu developers,
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
headers.
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.
Thanks,
-Yale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20210910/5eb194cb/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list