I'm integrating a static library based on c/c++ into a shared library based on c (using cmake on linux).
I have errors like this: libmylib.so: undefined reference to `std::ios_base::Init::Init()'
The problem is strongly related with the use of c++ and its linking to the shared library. If I avoid the shared library (even another static library) no error occurs. Because of my project I can not avoid that shared library which uses the static library.
How to generate a …