cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Data Services REST Webservice

Julian_Riegel
Product and Topic Expert
Product and Topic Expert

Dear experts,

I have set up a REST WebService Datastore and have successfully imported relevant functions via WADL into the DS Designer. When running a simple request and invoking the WebService I am getting following error message:

System call <LoadLibrary> to load and initialize DLL or shared library functions failed for <libbodi_curl.so>. Ensure that the library is installed and located correctly.

The said file however is located in the installation directory of Data Services /bin in which the job itself is also running.

When doing an Ldd on said file everything seems fine:

ldd libbodi_curl.so linux-vdso.so.1 => (0x00007ffe3d2b6000) libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007f2081432000) libbodi_ssl.so.1.0.0 (0x00007f2081046000) libbodi_crypto.so.1.0.0 (0x00007f2080c75000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f2080a28000) libz.so.1 => /usr/lib64/libz.so.1 (0x00007f2080811000) librt.so.1 => /usr/lib64/librt.so.1 (0x00007f2080609000) libc.so.6 => /usr/lib64/libc.so.6 (0x00007f208023c000) libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f207ffca000) libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f207fb69000) libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f207f965000) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f207f67c000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f207f449000) libcom_err.so.2 => /usr/lib64/libcom_err.so.2 (0x00007f207f245000) libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f207f036000) libkeyutils.so.1 => /usr/lib64/libkeyutils.so.1 (0x00007f207ee32000) libresolv.so.2 => /usr/lib64/libresolv.so.2 (0x00007f207ec19000) libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f207e9fc000) /lib64/ld-linux-x86-64.so.2 (0x00007f20818c9000) libselinux.so.1 => /usr/lib64/libselinux.so.1 (0x00007f207e7d5000) libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f207e572000)

The Services are running in a RedHat 7.3 Environment.

I have ensured connectivity to the WebService

from the client aswell as from the DS Installation Server.

Any ideas would be greatly appreciated.

BR,

Julian

Accepted Solutions (1)

Accepted Solutions (1)

former_member466847
Active Participant
0 Kudos

What is your Data Services version and IPS version currently installed?
Researching the error message returned the following KBA 2679726 - System call <LoadLibrary> to load and initialize DLL or shared library function failed for...

root cause is that the LD_Library path and an_env were still sourcing an older copy of the libodi_curl file.

Answers (0)