Co robi LDCONFIG użycie. Konsola usr/lib , and /lib ; update links and cache where necessary.

Czy przydatne?

Polecenie ldconfig

Wykonanie, użycie: System administration command. Examine the libraries in the given directories, /etc/ld.so.conf, /usr/lib, and /lib; update links and cache where necessary. Usually run in startup files or after the installation of new shared libraries

Opcje wykonania ldconfig w konsoli

-C filename

Use filename instead of /etc/ld.so.cache

-ffilename

Use filename instead of /etc/ld.so.conf

-l

Library mode. Expect libraries as arguments, not directories. Manually link specified libraries.

-n

Suppress examination of /usr/lib and /lib and reading of /etc/ld.so.conf; do not cache.

-N

Do not cache; only link.

-p

Print all directories and candidate libraries in the cache. Used without arguments.

-v

Verbose mode. Include version number, and announce each directory as it is scanned and links as they are created.

-X

Do not link; only rebuild cache.

Przykłady ldconfig działanie w Słownik polecenie L