TIBCO ActiveMatrix(R) Adapter for Files for Unix/Win throws error, "The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll. Failed to load shared library. library name: adfil
book
Article ID: KB0081485
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows
5.x,6.x
Not Applicable
-
Description
TIBCO ActiveMatrix(R) Adapter for Files for Unix/Win throws error, "The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll. Failed to load shared library. library name: adfiles50.dll" during startup.
During startup of TIBCO ActiveMatrix Adapter for Files (Unix/Win) (FA) throws the error, "The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll. Failed to load shared library. library name: adfiles50.dll".
"The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll"
This above error could be caused by a known issue of conflicting libeay32.dll present on the system. TIBCO Rendezvous (RV), TIBCO Enterprise Message Service (EMS), and TIBCO Runtime Agent (TRA) use OpenSLL code (files libeay32.dll and ssleay32.dll). There are other applications which use the above OpenSSL code too and hence, libeay32.dll and ssleay32.dll may already be installed (by non TIBCO applications) in C:\Windows\system32.
If the versions of libeay32.dll and ssleay32.dll in C:\Windows\system32 are not compatible with RV, then TIBCO applications may fail when trying to use RV or EMS.
Issue/Introduction
TIBCO ActiveMatrix(R) Adapter for Files for Unix/Win throws error, "The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll. Failed to load shared library. library name: adfiles50.dll" during startup.
Environment
Product: TIBCO ActiveMatrix(R) Adapter for Files for Unix/Win
Version: 5.x and 6.x
OS: Windows.
--------------------
Resolution
To resolve the issue, you may need to rename, remove, or replace BOTH the files libeay32.dll and ssleay32.dll in C:\Windows\system32 with the files in TIBCO_RV_HOME\bin.
In the case that C:\Windows\system32 does not contain libeay32.dll and ssleay32.dll files, you can also try to check if these files could be found inside $TIBCO_HOME\adapter\sdk\5.5\bin, which may also conflict with tibrv\8.1\bin. For this case, you may need to try to do the following configuration:
- Check that the PATH used by TIBCO ActiveMatrix Adapter for Files (Unix/Win) is pointing to TIBCO_SDK_HOME/bin, first followed by TIBCO_RV_HOME/bin . If so, try to change the order (TIBCO_RV_HOME/bin first followed by TIBCO_SDK_HOME/bin). Point "TIBCO_RV_HOME/bin" at start of "tibco.env.PATH" in adfilesagent.tra (<FA-HOME>/bin).