BUG
When using Linux-SUSE to run any ArcGIS Engine C++ samples, the following error message appears at the command prompt:
"Could not open libarcsdk_rt.so: libelf.so.1: cannot open shared object
file: No such file or directory
Could not open libarcsdk_rt.so: libelf.so.1: cannot open shared object
file: No such file or directory
Could not open libarcsdk_rt.so: libelf.so.1: cannot open shared object
file: No such file or directory
Segmentation fault"
There are two implementations of libelf available for Linux: libelf.so.0 and libelf.so.1. Redhat distribution usually ships libelf.so.1 and non-Redhat distribution usually ships libelf.so.0. ESRI samples are built on top of the libelf.so.1 version. Therefore, running the sample code causes the compiler to complain that dependencies are not found.
Code:
objdump -x $ARCENGINEHOME/bin/libarcsdk_rt.so
Code:
$ ln -s libelf.so.0 libelf.so.1
Get help from ArcGIS experts
Download the Esri Support App