How xxxx_STARTUP_LIBS lines defined in both aleph_start and aleph_start.private relate to each other
- Article Type: Q&A
- Product: Aleph
- Product Version: 20
Question
When a particular xxxx_STARTUP_LIBS value, such as WORD_STARTUP_LIBS or SIP2_STARTUP_LIBS, is defined in both $alephe_root/aleph_start and ./aleph_start.private which xxxx_STARTUP_LIBS is used?
Answer
The system first reads aleph_start. If an xxxx_STARTUP_LIBS is found, it temporarily stores it. Then it reads aleph_start.private. Any xxxx_STARTUP_LIBS found in aleph_start.private will replace the aleph_start value which has been stored -- *except* when the first xxxx_STARTUP_LIBS aleph_start.private line has a $xxxx_STARTUP_LIBS value. (See Example 1 in Additional Information below.) Then it will *add* the aleph_start.private values those saved from aleph_start.
Additional Information
Example 1:
aleph_start has:
setenv WORD_STARTUP_LIBS "usm01 usm30"
and aleph_start.private has:
setenv ALEPH_LIBS "$ALEPH_LIBS bqr50 bsf50 cav50 cpl50 cps50"
setenv ALEPH_LIBS "$ALEPH_LIBS dhz50 dip50 div50 diz50 dkp50"
"echo $aleph_libs" will show: usm01 usm30 bqr50 bsf50 cav50 cpl50 cps50 dhz50 dip50 div50 diz50 dkp50"
Example 2:
aleph_start has:
setenv SIP2_STARTUP_LIBS "usm50"
and aleph_start.private has:
setenv SIP2_STARTUP_LIBS "nfg50 wfp50 dip50 nfg50 lea50"
"echo $sip2_startup_libs" will show: nfg50 wfp50 dip50 nfg50 lea50.
Category: System Management (500)
- Article last edited: 7/30/2014