huysentruitw/SapNwRfc

Throw error in Centos7.8

Opened this issue · 1 comments

export LD_LIBRAR_PATH=projectpath

throw error :
Unable to load shared library 'sapnwrfc' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libsapnwrfc: cannot open shared object file: No such file or directory

The correct environment variable is LD_LIBRARY_PATH. Make sure to set it in the same shell from where the application is being started. When unsure, you could log the content of the environment variable at startup using Environment.GetEnvironmentVariable("LD_LIBRARY_PATH").