skip to main content
Getting Started : Configuring and Connecting on UNIX and Linux : Setting the Library Path Environment Variable (UNIX and Linux)
  

Try DataDirect Drivers Now

Setting the Library Path Environment Variable (UNIX and Linux)

Before you can use the driver for Apache Cassandra, you must set the library path environment variable for your UNIX/Linux operating system to include 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.
32-bit Driver: Library Path Environment Variable
Set the library path environment variable to include 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)
*SHLIB_PATH on HP PA-RISC
*LIBPATH on AIX
64-bit Driver: Library Path Environment Variable
Set the library path environment variable to include 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
*LIBPATH on AIX