Kbase P126347: Where to set LD_LIBRARY_PATH environment variable on Linux machine for all users?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/12/2007 |
|
Status: Unverified
GOAL:
Where can I set the LD_LIBRARY_PATH on my Linux machine for all users?
GOAL:
How to set up LD_LIBRARY_PATH for all users on Linux machine?
GOAL:
What is the best location to use for making modifications to LD_LIBRARY_PATH for LINUX?
FACT(s) (Environment):
Linux Intel
FIX:
The scripts provide with Progress (ie. pro, mpro, proserve etc...) make use of $DLC/bin/slib_env. The first thing these scripts do is check to see is if $DLC is set. If it is, then these scripts check to make sure that the file slib_env exists. If it does not exist, they will error indicating this fact.
Progress Messages:
slib_env could not be found.
Progress shared library environment not set correctly.
Progress DLC environment variable may not be set correctly.
Set DLC variable to Progress installation directory.
Progress DLC setting: pathname displayed as to where Progress/OpenEdge is installed.
If the file exists, then within the scripts the slib_env is executed to ensure that the shared library paths are set appropriately.
If your application is not using the scripts provided with Progress, then there would be a need to set the LD_LIBRARY_PATH somewhere else on the Operating System that would be
invoked for all users when they are logging in. Searches conducted on www.Google.com indicate that setting the LD_LIBRARY_PATH environment variable in the /etc/ld.so.conf is appropriate for all users to inherit the values. Please consult with the Operating System vendor for best practices when setting environment variables globally.