Environment Variables
SourcePro for Open Sources Databases is a binary version of the SourcePro product. The installation program places the SourcePro link libraries (.lib on Win32, .so on UNIX) in the <buildspace>\lib directory.
To run applications using SourcePro components, your system must be able to find the dynamic libraries for all dependent libraries. To simplify your use of SourcePro for Open Sources Databases, this version uses the environment variable RW_SOURCEPRO_HOME, which specifies your installation location. The Windows PATH and UNIX LD_LIBRARY_PATH or LD_LIBRARY_PATH_64 must be modified to point to the Rogue Wave and 3rd-party dynamic libraries.
Windows: Batch file sproenv_vars.bat defines the environment variable RW_SOURCEPRO_HOME and adds the SourcePro libraries to your PATH. Simply execute <buildspace>/sproenv_vars.bat at the command prompt.
UNIX: On UNIX, sproenv_vars.sh defines the environment variable RW_SOURCEPRO_HOME and adds SourcePro libraries to your LD_LIBRARY_PATH or LD_LIBRARY_PATH_64. If you are using bash or ksh (or a compatible shell), simply “dot” or source <buildspace>/sproenv_vars.sh as follows:
. <buildspace>/sproenv_vars.sh
NOTE: If you are using a shell compatible with csh, you will have to modify sproenv_vars.sh to accommodate csh syntax.