Tagged articles

ldconfig

2 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
ITPUB
ITPUB
Apr 4, 2016 · Operations

Fixing "error while loading shared libraries" on Linux: Causes & Solutions

This guide explains why Linux programs report "error while loading shared libraries" and provides four practical solutions—including running ldconfig, updating ld.so.conf, setting LD_LIBRARY_PATH, and creating symbolic links—to resolve missing or mismatched shared library issues.

LD_LIBRARY_PATHLinuxSymbolic Link
0 likes · 5 min read
Fixing "error while loading shared libraries" on Linux: Causes & Solutions