G-Engine uses various third-party libraries: ffmpeg for video playback, fmod for audio playback, zlib for decompression, etc. In all these cases, the library is included as a “dynamic library” (as opposed to a “static library”).
On Windows, when an executable needs a dynamic library, it searches for it in a few predefined locations, such as “the same directroy as the executable”. On Mac and Linux, however, the situation is different and requires some consideration.
I was recently learning how Mac and Linux machines load dynamic libraries, so I thought I’d write a quick post about it.[Read More]