Cannot open shared object file Error Autovue

Oracle Autovue

While trying to install AutoVue 20.2.1 on Linux(RedHat 5.5) 64 bit environment we hit following error while starting the Autovue service.

<log4j:event logger=”com.cimmetry.jvueserver.management” timestamp=”1368094054659″ level=”FATAL” thread=”main”>
<log4j:message><![CDATA[Failed to load VueServer library. Aborting.]]></log4j:message>
<log4j:throwable><![CDATA[java.lang.UnsatisfiedLinkError: /opt/autovue/bin/libvueserver.so.20.2.1.8280: libbz2.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.initLibrary(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.start(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.main(Unknown Source)
]]></log4j:throwable>
</log4j:event>

<log4j:event logger=”com.cimmetry.jvueserver.management” timestamp=”1368094054660″ level=”FATAL” thread=”main”>
<log4j:message><![CDATA[Error while starting up the server.]]></log4j:message>
<log4j:throwable><![CDATA[java.lang.InstantiationException: Unable to load native library
at com.cimmetry.jvueserver.JVueServer.initLibrary(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.start(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.main(Unknown Source)
]]></log4j:throwable>
</log4j:event>

Steps To follow to solve this library issue:

1. Run “locate libz2.so.1” , if you find details like below then make sure only 32 bit libraries are available and rest are uninstalled.

/usr/lib/libz2.so.1
/usr/lib/libz2.so.1.0.3
/usr/lib64/libz2.so.1
/usr/lib64/libz2.so.1.0.3

So after uninstallation of 64 bit libraries the locate command should return only below details

/usr/lib/libbz2.so.1
/usr/lib/libbz2.so.1.0.3

Run below command to check wheather below package is installed in system or not:

yum whatprovides libbz2.so.1

You should get:

bzip2-libs-1.0.3-6.el5_5.i386 : Libraries for applications using bzip2
Repo : installed
Matched from:
Other : Provides-match: libbz2.so.1

Once above things are verified, Try to start the Autovue, if that does not resolve the issue, uninstall the old Autovue and re-install the autovue again and check.
This shall solve the issue and Autovue shall comeup online without any issues.

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.