Adding the Shared Library Path to the lawson.env file

Because of the use of shared libraries in the database drivers, UNIX customers must perform the following procedure when you install, reinstall, or upgrade Infor Lawson System Foundation.

Note: If you do not perform this procedure, your IBM DB2 database driver and utilities will not execute.
Note: The etc/lawson.env file is in the application server and not in the database server.
Note:  $LAWDIR/lawson.env has been deprecated as of release 8.0.2. In previous releases, this lawson.env file existed in each product line $LAWDIR directory ($LAWDIR/lawson.env) and could be directly sourced from user profiles. You can continue to point to this file; however, you must not edit the file. All changes must now be made to /etc/lawson.env.

To add the appropriate shared library path

  1. After you perform a first-time install, upgrade, or reinstall Infor Lawson System Foundation, stop all Lawson servers. At the prompt, specify

    stoplaw

  2. Add the appropriate shared library path to the /etc/lawson.env file.

    DB2 Client version

    UNIX O/S Environment Variable Shared Library Path
    10.5, 11.1 IBM AIX 7.1/7.2 LIBPATH

    $DB2HOME/lib64:$LIBPATH

    - or -

    $DB2HOME/lib32:$LIBPATH

    - or -

    $DB2HOME/lib:$LIBPATH

    10.5, 11.1 Sun Solaris 11 LD_LIBRARY_PATH

    $DB2HOME/lib64:$LD_LIBRARY_PATH

    - or -

    $DB2HOME/lib32:$LD_LIBRARY_PATH

    - or -

    $DB2HOME/lib:$LD_LIBRARY_PATH

    10.5, 11.1 HP-UX (Integrity) LD_LIBRARY_PATH

    $DB2HOME/lib64:$LD_LIBRARY_PATH

    - or -

    $DB2HOME/lib32:$LD_LIBRARY_PATH

    - or -

    $DB2HOME/lib:$LD_LIBRARY_PATH

  3. Start all Lawson servers. At the prompt, specify

    startlaw