Crle usage example

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
Current revision (18:28, 14 January 2008) (edit) (undo)
(Notes)
 
Line 27: Line 27:
== Notes ==
== Notes ==
-
* '''crle''' stands for "configure runtime linking environment'''
+
* '''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''')
* '''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''')

Current revision

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)

Links

Personal tools