Skip to main content

Summary How can I solve a missing DLL issue?
Article Number 29429
Environment Orbix C Windows 6.3.X
Question/Problem Description

How can I solve a missing DLL issue? (Windows)

Clarifying Information
Error Message [IT_Shlib_Manager, thread 9084] could not find it_>. in C:\\xxx\\Orbix\\etc\\bin;C:\\Windows\\system32;C:\\Windows;C:\\xxx\\Orbix\\bin;C:\\PROGRA~ 1\\Java\\JDK16~1.0_3\\jre\\bin\\server;.... OR The program can't start because it_>>_> is missing from your computer. Try reinstalling the program to fix this problem.
Defect/Enhancement Number
Cause
Resolution 1. Before running your application make certain that you have sourced the environment file. This file is generally located at: <<Orbix install>>\\etc\\bin\\<<domain name>>_env.bat 

2. Start shared library debugging with by setting the environment variable IT_SHLIB_VERBOSE:

set IT_SHLIB_VERBOSE=1

3. Run your service or application.

4. In the standard output, search for an error message referencing a library which cannot be found or loaded. The library name will be of the form it_arm5. This is not the name of the actual shared library. The shared library name will be it_arm<<version number>>_<<compiler version>>.dll. For example it_arm5_vc100x64.dll . This error message may appear in two forms. A popup error message will mean that one of the core libraries could not be loaded. Also, you may see an error such as this in the DOS window:
[IT_Shlib_Manager, thread 9084] could not find it_iiop.<best-match> in C:\\xxx\\Orbix\\etc\\bin;C:\\Windows\\system32;C:\\Windows;C:\\xxx\\Orbix\\bin;C:\\PROGRA~
1\\Java\\JDK16~1.0_3\\jre\\bin\\server;....
 
5. Find your Path with the command set $PATH

6. Does the referenced shared from step 4 exist in the Path from step 5? If not then add the path to the  configuration file from step 1.

7. If the library does exist then check the user permissions on this file. Does the Orbix process have permissions to run this file.

8. If the process does have permissions for the file then check that all library dependencies for the file can also be loaded. There are multiple ways to do this.
8.a. Download the tool  Dependency Walker.
8.b. Open a command prompt and run the bat file to set your Orbix configuration.
8.c  Run dependency Walker on the dll causing the error by using the command depends <<dllname>>.dll


   Check error messages for each library needed for the shared library can be found and loaded. If there exist any missing dll's then change the path accordingly. Warning messages may be created for delayed load dll's which can not be found. The dll iehims.dll generally creates a warning message. These dll's are not needed for the initial load, and will not cause error messages.

9. Make certain that if you have installed a 32 or 64 bit version of Orbix then you also use the appropriate 32 or 64 bit version of Java. (check that the java version from the PATH variable is the appropriate version.)

 
Workaround
Notes Related Documentation:

 Related KB Article(s)::
000029427, "What load library path is Orbix using?"
Attachment

Created date: 01 March 2012
Last Modified: 13 February 2013
Last Published: 14 March 2012
First Published date: 14 March 2012

#KnowledgeDocs
#Orbix