There is not enough information in your question to answer this.
All I can suggest is to ensure that you are using a C++ compiler (not a C compiler), that the program is linked with the
libstdc++, and that
sharedobjname.so should have been build with the same tools and tool versions as your program.
If
sharedobjname.so is build by you, use the same compiler and settings as for your program.
If not, check the documentation for that module or ask the creator. See also
GCC: ABI Policy and Guidelines[
^] which explains why you might get unresolved symbol errors and that there are some options that can be used to solve the problem (
-fabi-version
) or even produce them (
-fno-exceptions
).