KB Article #176163

/opt/axway/b2bi/Integrator/bin/cpiico1: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory Failure (child status); process aborted !

Problem

* errors when deploying your first flow / integration

-> in broadcast.log

Exception source message = '8031 - BroadcastAgent : SendToServer failed - compilation failed'

-> in agent.log

Compiling intermediate code...
  /opt/axway/b2bi/Integrator/bin/cpiico1: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory
  Failure (child status); process aborted !

Resolution


1- first check if libelf.so.1 ispresent on your Linux machine (it is usually cated in /usr/lib or /usr/lib64). if it is not present, install libutils package

2- if libelf is present, make sure that libelf.so.1 has the same distribution (32 or 64 bits) as Integrator build

Exemple :

[root@bcienl lib64]# cd /opt/axway/b2bi/Integrator/bin
[root@bcienl bin]# file cpiico1
cpiico1: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
[root@bcienl bin]# cd /usr/lib64
[root@bcienl lib64]# file libelf.so.1
libelf.so.1: symbolic link to `libelf-0.152.so'
[root@bcienl lib64]# file libelf-0.152.so
libelf-0.152.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

In this exemple, you can see that Integrator is a 32 bits build while libelf is a 64 bits library.
That is why the compilation fails.

There are 2 possible solutions :

- install the libutils 32 bits package on your Linux box
- reinstall Integrator using the 64 bits build