Step 3: Setting environment variables

To run the administration tools, a number of environment variables must be defined or modified. This is usually done in the sa_config.sh file, which is created by the SQL Anywhere installer, but you have the flexibility to do this however is most appropriate for your application.

  1. Set the PATH to include the following:
    /opt/sqlanywhere11/bin32

    or

    /opt/sqlanywhere11/bin32s

    (whichever is appropriate).

  2. Set LD_LIBRARY_PATH to include the following:
    /opt/sqlanywhere11/jre160/lib/i386/client
    /opt/sqlanywhere11/jre160/lib/i386
    /opt/sqlanywhere11/jre160/lib/i386/native_threads
  3. Set the following environment variable:
    SQLANY11="/opt/sqlanywhere11"