The best approaches to take (in order of preference):
- rebuild your library to use libc++
- add a dependency on libstdc++ to your module (PublicAdditionalLibraries.Add(“stdc++”))
- set the environment variable UE4_LINUX_USE_LIBCXX to 0 and recompile Unreal.
Rationale: if you’re planning to redistribute the resulting Unreal project across Linux distros, you may run into problems with compatibility of libstdc++.so. You cannot bundle libstdc++.so with your Unreal project or link it statically (at least without consulting the lawyer), so you are better off using libc++ which can be freely bundled.