Setting the Library Path Environment Variable (Salesforce Driver on UNIX/Linux)
Before you can use the Salesforce driver, you must set the library path environment variable for your UNIX/Linux operating system to the directory containing your JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.
NOTE FOR HP-UX: You also must set the LD_PRELOAD environment variable to the fully qualified path of the libjvm.so.
Set the library path environment variable to the directory containing your 32-bit JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.
LD_LIBRARY_PATH on Solaris, Linux, and HP-UX (Itanium)
Set the library path environment variable to the directory containing your 64-bit JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.
LD_LIBRARY_PATH on Solaris, HP-UX (Itanium), and Linux