KB Article #45044
Can't open shared library
Problem
Resolution
After compiling all the samples, you may face the following error when you run them:
/usr/lib/dld.sl: Can't open shared library: /home/axway/Messaging/lib/libxmsapi.sl
/usr/lib/dld.sl: Permission denied
Abort(coredump)
Resolution
1 - Be sure that you have all the environment variables especially the SHLIB_PATH
If you are not sure, try to reload the Messaging profile:
$> cd <Home of Messaging>
$> . ./runtime/etc/profile
2 - If your SHLIB_PATH is successfully set, be sure that the SHLIB_PATH search is enabled on binaries.
To enable the SHLIB_PATH search on a binary, do the following:
$> chatr +s enable <your binary>