Ldconfig

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In computing, ldconfig is a shell command used for creating and updating symbolic links and the cache for shared libraries. It is found in most Linux distributions and FreeBSD, and it is part of the glibc package. ldconfig works by searching for .so files in directories specified in the /etc/ld.so.conf file, the trusted directories ( /lib and /usr/lib , or /lib64 and /usr/lib64 on multilib systems), and any directories specified on the command line. The generated binary cache file, /etc/ld.so.cache , is used by ld.so to speed up library lookup at runtime. ldconfig can be compared to regsvr32 in Windows and ReactOS, and to dyld in macOS.

In computing, ldconfig is a shell command used for creating and updating symbolic links and the cache for shared libraries. It is found in most Linux distributions and FreeBSD, and it is part of the glibc package. ldconfig works by searching for .so files in directories specified in the /etc/ld.so.conf file, the trusted directories ( /lib and /usr/lib , or /lib64 and /usr/lib64 on multilib systems), and any directories specified on the command line. The generated binary cache file, /etc/ld.so.cache , is used by ld.so to speed up library lookup at runtime. ldconfig can be compared to regsvr32 in Windows and ReactOS, and to dyld in macOS. -c FORMAT , --format=FORMAT – specify which format to use: new (default), old, or compat) -i , --ignore-aux-cache – ignore the auxiliary cache file -l – manually link individual libraries -n – used to ignore /etc/ld.so.cache and the trusted directories and only process the directories specified on the command line. ( -N is implied, so the cache won't be rebuilt) -N – skips rebuilding the cache -v , --verbose – runs in verbose mode; prints version number, scanned directories, and all created links -V , --version – prints the version number -X – skips updating links -p – prints the current cache -r ROOT – specify a directory as the root directory Source:

Text derived from https://en.wikipedia.org/w/index.php?oldid=1328304406 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001328304406 · captured 1766106692.0 · version history

Cite this page as: encyclopegia.org, “Ldconfig”, snapshot enwiki-001328304406. https://encyclopegia.org/a/ldconfig