Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting below error while loading shared object.

 sharedobjname.so: undefined symbol: _ZTI9Exception)


$ c++filt _ZTI9Exception
typeinfo for Exception


What I have tried:

$ c++filt _ZTI9Exception
typeinfo for Exception
Posted
Updated 13-Sep-17 2:33am

1 solution

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).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900