Crle usage example
From Brandonhutchinson.com
(Difference between revisions)
(New page: == Overview == In this example, I add the following paths to the system-wide default library path used by the runtime linker ('''ld.so.1'''): * /opt/BerkeleyDB.4.2/lib * /opt/lib * /opt/s...) |
|||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
| - | In this example, I add the following paths to the system-wide default library path used by the runtime linker ( | + | In this example, I add the following paths to the system-wide default library path used by the runtime linker (ld.so.1): |
* /opt/BerkeleyDB.4.2/lib | * /opt/BerkeleyDB.4.2/lib | ||
* /opt/lib | * /opt/lib | ||
* /opt/ssl/lib | * /opt/ssl/lib | ||
| + | |||
| + | == Usage == | ||
# '''crle''' | # '''crle''' | ||
Revision as of 18:28, 14 January 2008
Contents |
Overview
In this example, I add the following paths to the system-wide default library path used by the runtime linker (ld.so.1):
- /opt/BerkeleyDB.4.2/lib
- /opt/lib
- /opt/ssl/lib
Usage
# crle Default configuration file (/var/ld/ld.config) not found Default Library Path (ELF): /lib:/usr/lib (system default) Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
# crle -l /lib -l /usr/lib -l /opt/BerkeleyDB.4.2/lib -l /opt/lib -l /opt/ssl/lib
# crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/opt/BerkeleyDB.4.2/lib:/opt/lib:/opt/ssl/lib Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/BerkeleyDB.4.2/lib:/opt/lib:/opt/ssl/lib
Notes
- crle stands for "configure runtime linking environment
- crle -l will overwrite the default library path, so make sure to include all needed paths on the command line (e.g., /lib and /usr/lib)
