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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly