ldconfig Flashcards
1
Q
ldconfig
A
ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories, /lib and /usr/lib.
2
Q
ldconfig -c
- C
- f
- i
A
- c fmt, –format=fmt, Cache format to use: old, new, compat
- C cache, Use cache instead of /etc/ld.so.cache
- f conf, Use conf instead of /etc/ld.so.conf
- i, –ignore-aux-cache, Ignore auxiliary cache file
3
Q
ldconfig -l
- n
- N
- p
A
- l, Library mode. Manually link individual libraries.
- n, Process only the directories specified.
- N, Don’t rebuild the cache.
- p, –print-cache, Print the lists of directories and candidate libraries stored in the current cache
4
Q
ldconfig -r
- v
- V
- X
A
- r root, Change to and use root as the root directory.
- v, –verbose, Verbose mode.
- V, –version, Print program version.
- X, Don’t update links.