Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:library_paths [2016/02/05 11:39] billdozor [Library Search Order] |
linux_wiki:library_paths [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 6/7 | + | * Distro(s): Enterprise Linux 6/7 |
---- | ---- | ||
Line 32: | Line 32: | ||
</ | </ | ||
* -v => verbose | * -v => verbose | ||
+ | |||
+ | \\ | ||
+ | Print the Cache Contents: To see what is currently in the library cache< | ||
---- | ---- | ||
Line 41: | Line 44: | ||
* (ELF binaries only) => Directories specified within the binary. (DT_RUNPATH) | * (ELF binaries only) => Directories specified within the binary. (DT_RUNPATH) | ||
* From cache file (/ | * From cache file (/ | ||
- | * In default system library paths (/lib, /usr/lib) | + | * In default system library paths (/lib, /lib64, /usr/lib) |
+ | |||
+ | ====== Override Search Order ====== | ||
+ | |||
+ | To get a path specified in front of another, define the environmental variable " | ||
+ | |||
+ | \\ | ||
+ | Example: Ensure that /usr/lib64 is ahead of / | ||
+ | <code bash> | ||
+ | vim / | ||
+ | |||
+ | LD_LIBRARY_PATH=/ | ||
+ | </ | ||
+ | * Including the " | ||
---- | ---- | ||