User`s guide

IST-033576 D2.1.4
You may wish to set up your system to load these modules by default at boot
time. The exact mechanism for doing so differs between Linux distributions, and
thus requires an experienced system administrator. However, a template init script
is provided as etc/blcr.rc in the BLCR source directory.
A.1.9 Updating ld.so.cache
Nearly all Linux distributions use a caching mechanism for resolving dynamic
library dependencies. If you have installed BLCR’s shared library in a directory
that is cached by the mechanism, then you will need to update this cache. To do
so, run the ldconfig command as root; no command-line arguments are needed.
It should always be safe to run the ldconfig command, even if BLCR did not
install its library in a directory managed in the cache. However, if you wish to
avoid this step when unneccessary, you can known that BLCR’s shared library
is in a cached directory if you configured with –prefix= or –libdir= options that
cause BLCR’s shared library (libcr.so) to be installed in:
/lib or /usr/lib
any directory listed in /etc/ld.so.conf
any directory listed in a file under /etc/ld.so.conf.d/
Note that if you passed no –prefix= or –libdir= options to BLCR’s config-
ure script, then you should check /etc/ld.so.conf and /etc/ld.so.conf.d/ for /usr/lo-
cal/lib (the default location) to determine if you actually need to run the ldconfig
command.
A.1.10 Configuring Users’ environments
Finally, you may wish to add the appropriate BLCR directories to the default
PATH, LD_LIBRARY_PATH, and MANPATH environment variables for your
users. You may either modify the /etc/profile and/or /etc/cshrc files, or you may
provide modules that accomplish the same thing). You should replace PREFIX by
the installation prefix (such as /usr/local) in the following examples:
For Bourne-style shells:
$ PATH=$PATH : PREFIX / b i n
$ MANPATH=$MANPATH: PREFIX / man
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH : PREFIX / l i b
$ e x p o r t PATH MANPATH LD_LIBRARY_PATH
For csh-style shells:
XtreemOS–Integrated Project 36/49