Unable to load library /opt/CA/SharedComponents/ccs/lib/libcajdbc.o

Document ID : KB000007392
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

During the startup of the CA-opr and CA-calendar daemons from the Common Services, the calendar and event management databases are not accessible due to error:

Unable to load library /opt/CA/SharedComponents/ccs/lib/libcajdbc.o

Environment:
Autosys 11.3.6 SP6 with Common Services 11.2 on Linux RedHat but it can happen on any other Unix/Linux platform.
Cause:

By loading the library with the native RedHat "ldd"  command, following error was displayed (Cannot find libjvm.so )

/opt/CA/SharedComponents/ccs/lib$ ldd libcajdbc.o

libcajdbc.o needs:

Cannot find libjvm.so

/opt/CA/CAlib/libetpki2.so

/opt/CA/CAlib/libetpki2_thread_posix.so

/usr/lib/libs.a(shr.o)

/usr/lib/librtl.a(shr.o)

/opt/CA/CAlib/libetpki_openssl_crypto.so

/opt/CA/CAlib/libetpki_openssl_ssl.so

/usr/lib/libdl.a(shr.o)

/usr/lib/libc.a(shr.o)

/usr/lib/libpthread.a(shr_xpg5.o)

/unix

/usr/lib/libcrypt.a(shr.o)

/usr/lib/libpthreads.a(shr_xpg5.o)

/usr/lib/libpthreads.a(shr_comm.o)

Resolution:

By comparing variable LIBPATH between a working and non-working environment, following directories were missing:

/opt/CA/SharedComponents/JRE/1.5.0/bin:/opt/CA/SharedComponents/JRE/1.5.0/bin/classic

Added them into script $CAIGLBL0000/scripts/envusr

with:

LIBPATH=/opt/CA/SharedComponents/JRE/1.5.0/bin:/opt/CA/SharedComponents/JRE/1.5.0/bin/classic:$LIBPATH 

export LIBPATH