Tagged articles

dlopen

5 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jun 19, 2026 · Fundamentals

Deep Dive into Linux Dynamic Linking: Building and Running .so Libraries

This article explains the fundamentals of Linux dynamic linking, compares .so shared objects with static libraries, walks through creating and compiling a simple math library, shows how to link and run an executable, and details runtime loading, library path configuration, and common troubleshooting techniques.

Dynamic LinkingLinuxShared Library
0 likes · 31 min read
Deep Dive into Linux Dynamic Linking: Building and Running .so Libraries
UCloud Tech
UCloud Tech
Feb 1, 2018 · Operations

How to Apply Live Hot Patches to Running Applications Without Restart

This article explains the principles and step‑by‑step implementation of application hot‑patching on Linux, showing how to compile a patch library, use a loader with ptrace and dlopen to inject it into a running process, and verify the change without restarting the service.

Linuxdlopenhot patching
0 likes · 8 min read
How to Apply Live Hot Patches to Running Applications Without Restart
Tencent Music Tech Team
Tencent Music Tech Team
Dec 22, 2017 · Mobile Development

Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android

The article outlines a systematic method for structuring native‑layer code and using dlopen, dlsym, and dlclose to dynamically load and unload .so libraries on Android, enabling selective loading, reduced memory usage, hot‑fix updates, and solutions to STL version, permission, and C++ name‑mangling challenges.

AndroidC++JNI
0 likes · 14 min read
Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android