error while loading shared libraries: ...: wrong ELF class
search cancel

error while loading shared libraries: ...: wrong ELF class

book

Article ID: 252175

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

When installing or executing Harvest you might see an error like this:

<SCM home folder>/lib/bkrd: error while loading shared libraries: <library name>: wrong ELF class

 

Environment

Harvest Software Change Manager all versions
zLinux, Linux and Unix platforms

Resolution

This normally means that Harvest has encountered a mismatch in the bit-levels of its executable files.  Perhaps your Oracle Client or another component upon which Harvest depends is the 32-bit version instead of the 64-bit version?  

All Unix software applications are built with either a 32-bit architecture or a 64-bit architecture.  Both types can successfully execute on a 64-bit zLinux, Linux or Unix operating system, but sometimes it is difficult to tell the architecture with which an application or set of executable files is built.  You can find out if it is built as a 32-bit application or a 64-bit application using this command 

file <filename>

The result will show the architecture with which it was built.  For example:

[<userid>@<servername> lib]$ file liblber.so.2
liblber.so.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=#############################################, with debug_info, not stripped
[<userid>@<servername> lib]$