cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Function Call (RFC) Library on WSL SUSE

Former Member
0 Kudos

Hi, this is certainly not supported but,

trying to use nwrfcsdk on SUSE 12 SP3 on windows susbsystem linux for development.

the code compiles but at runtime, gives:

Could not open the ICU common library.
The following files must be in the path described by
the environment variable "LD_LIBRARY_PATH":
libicuuc.so.34, libicudata.so.34, libicui18n.so.34 [nlsui0_mt.c 1546] pid = 1216
LD_LIBRARY_PATH is currently set to <not set> [nlsui0_mt.c 1549] pid = 1216

has anyone tried before?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello,
just as the error text says, you should make sure that the LD_LIBRARY_PATH environment variable contains the location of the libicu* libraries, which should be in nwrfcsdk/lib.

Former Member
0 Kudos

Hi, thanks for reply. Here is what i've already tried, sorry was not mentioned in original post.

$ldd hello_gorfc
linux-vdso.so.1 => (0x00007fffef313000)
libsapnwrfc.so => /usr/sap/nwrfcsdk/lib/libsapnwrfc.so (0x00007f6f07520000)
libsapucum.so => /usr/sap/nwrfcsdk/lib/libsapucum.so (0x00007f6f07370000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6f07150000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6f06d80000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6f06b70000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6f06950000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6f06740000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6f063b0000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6f06090000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6f05e70000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6f07e00000)

$ ./hello_gorfc

Could not open the ICU common library.
The following files must be in the path described by
the environment variable "LD_LIBRARY_PATH":
libicuuc.so.34, libicudata.so.34, libicui18n.so.34 [nlsui0_mt.c 1546] pid = 450
LD_LIBRARY_PATH is currently set to /usr/sap/nwrfcsdk [nlsui0_mt.c 1549] pid = 45

$ ./hello_gorfc

Could not open the ICU common library.
The following files must be in the path described by
the environment variable "LD_LIBRARY_PATH":
libicuuc.so.34, libicudata.so.34, libicui18n.so.34 [nlsui0_mt.c 1546] pid = 456
LD_LIBRARY_PATH is currently set to /lib/x86_64-linux-gnu/ [nlsui0_mt.c 1549] pid = 456

$ ./hello_gorfc
Could not open the ICU common library.
The following files must be in the path described by
the environment variable "LD_LIBRARY_PATH":
libicuuc.so.34, libicudata.so.34, libicui18n.so.34 [nlsui0_mt.c 1546] pid = 461
LD_LIBRARY_PATH is currently set to /usr/sap/nwrfcsdk/lib [nlsui0_mt.c 1549] pid = 461

Former Member
0 Kudos

Also an important detail, very same setup works(same OS same versions etc) , other than WSL.