The following error is seen while attempting to execute a curl command using nexec against a target system or in a deploy job run against the target system where the RSCD was recently upgraded from 8.6 to 8.7 or higher. libblssl.so.0.9.8 : No such file or directory libblcrypto.so.0.9.8 : No such file or directory |
In BSA 8.6 a new library was added to the RSCD's lib directory - libcurl.so/libcurl.so.4. Unfortunately, when running commands against the target system via nexec or in a deploy job any binaries dynamically (eg, curl or yum) linked to libcurl.so.4 picked up the version in the RSCD's lib directory instead of the operation system's version (typically in /lib64 or /lib). In 8.7 this library file was renamed to libblcurl.so/libblcurl.so.4 however the agent upgrade process did not remove the old libcurl.so.4 from the RSCD's lib directory so the problem with the dynamically linked binaries still existed. Removal of libcurl.so.4 is fixed in 8.9.01 (QM002154468). If the error is seen in versions 8.7 through 8.9 of the RSCD:
Before running the failing command pre-pend unset LD_LIBRARY_PATH. For example unset LD_LIBRARY_PATH;curl -x https://www.example.comAlternatively, upgrade to a later version of the agent and follow the above steps if necessary to remove the libcurl.so.4. |