Setting the library path environment variable (UNIX and Linux)
- Last Updated: July 25, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Cassandra 8.0
- Documentation
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_PATHon Solaris, Linux, and HP-UX (Itanium)SHLIB_PATHon HP PA-RISCLIBPATHon 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_PATHon Solaris, HP-UX (Itanium), and LinuxLIBPATHon AIX