Why do I get error message "java: symbol lookup error..." when I run a Java client with IBM Java 1.6(SR5) on Linux?

This missing symbol problem is caused by the IBM JVM not preloading the Symphony library completely. You can set OS variable LD_PPELOAD to force the JVM to load Symphony libraries.

Do one of the following:

  1. Add the following code at the front of your Java client script.

    #!/bin/bash
    export
    LD_PRELOAD=${SOAM_HOME}/5.1/linux2.6-glibc2.3-x86/lib/libsoambase.so
    ##The following is your code...
  2. Set the OS variable LD_PRELOAD to point to the Symphony libraries.

    • for bash:

      export LD_PRELOAD=${SOAM_HOME}/5.1/linux2.6-glibc2.3-x86/lib/libsoambase.so

    • for csh:

      setenv LD_PRELOAD ${SOAM_HOME}/5.1/linux2.6-glibc2.3-x86/lib/libsoambase.so