undefined symbol: _ZNSt8ios_base4InitD1 用gcc编译C++动态库导致,用g++编译就好了 转载于:https://www.cnblogs.com/mingzhang/p/8084432.html