Where is __dso_handle defined?
问题 I have an unresolved symbol error when trying to compile my program which complains that it cannot find __dso_handle . Which library is this function usually defined in? Does the following result from nm on libstdc++.so.6 mean it contains that? I tried to link against it but the error still occurs. nm libstdc++.so.6 | grep dso 00000000002fc480 d __dso_handle 回答1: __dso_handle is a "guard" that is used to identify dynamic shared objects during global destruction. Realistically, you should stop