Crle usage example


Revision as of 18:27, 14 January 2008 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


In this example, I add the following paths to the system-wide default library path used by the runtime linker (

  • /opt/BerkeleyDB.4.2/lib
  • /opt/lib
  • /opt/ssl/lib
# 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


  • 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)


Personal tools