Using Global Statics in C++ Service Code
By default, the Linux C++ Driver loads application libraries with RTLD_LOCAL, which only makes statics available within an object. This is done primarily to ensure that statics defined in a Service Session is unique.
However, this can cause issues in your application, such as when using dynamic cast with RTTI. Instead, you can use RTLD_GLOBAL, which makes statics available by any object in a process. There is an Engine Configuration option to set RTLD_GLOBAL to true to handle such cases.