Lesson plan

Ldconfig

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.

Back to article

Article summary

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.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.