Draft:Ldconfig
![]() | Review waiting, please be patient.
This may take 8 weeks or more, since drafts are reviewed in no specific order. There are 2,948 pending submissions waiting for review.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
Reviewer tools
|
Submission declined on 13 September 2025 by Perryprog (talk).
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
This draft has been resubmitted and is currently awaiting re-review. | ![]() |
Comment: Ldconfig is probably notable, but currently this just has one secondary source discussing it (man pages would be primary). Could you try to get one or two more secondary sources that discuss ldconfig in depth? Perryprog (talk) 16:51, 13 September 2025 (UTC)
ldconfig | |
---|---|
Original author(s) | Sun Microsystems (SunOS), Roland McGrath (Linux/glibc) |
Developer(s) | GNU Project, most contributions by Ulrich Drepper |
Initial release | 1988 | (SunOS) 1990s (Linux/glibc)
Operating system | Linux, FreeBSD |
Type | Command |
License | glibc: LGPL-2.1-or-later |
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.[1] 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.[2][3]
The generated binary cache file, /etc/ld.so.cache
, is used by ld.so to speed up library lookup at runtime.[4]
ldconfig
can be compared to regsvr32
in Windows and ReactOS, and to dyld
in macOS.
History
[edit]ldconfig
first appeared in SunOS 4.0 which was initially released in 1988.[5][6] Due to the adoption of the Executable and Linkable Format by the Unix community, the need for a more robust and flexible library management system became apparent. This led to the development of ldconfig
within the GNU C Library (glibc).
-C CACHE
– specify a cache other than the default (/etc/ld.so.cache
)-f CONF
– specify a configuration file other than the default (/etc/ld.so.conf
)-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
References
[edit]- ^ "Understanding the ldconfig command in Linux". 2022-12-10. Retrieved 2025-09-13.
- ^ "ldconfig(8) - Linux manual page". man7.org. Retrieved 2025-09-13.
- ^ "Linux ldconfig Command With Examples – Linux Hint". Retrieved 2025-09-13.
- ^ "ld.so(8) - Linux manual page". man7.org. Retrieved 2025-09-13.
- ^ "ldconfig". man.freebsd.org. Retrieved 2025-09-13.
- ^ "SunOS 4.x". WinWorld. Retrieved 2025-09-13.
- ^ "3 UNIX / Linux ldconfig Command Examples". linux.101hacks.com. Retrieved 2025-09-13.
- in-depth (not just passing mentions about the subject)
- reliable
- secondary
- independent of the subject
Make sure you add references that meet these criteria before resubmitting. Learn about mistakes to avoid when addressing this issue. If no additional references exist, the subject is not suitable for Wikipedia.