Menu

#52 Problems with native library

v5.x
closed
5
2012-09-27
2011-04-05
No

Hello.
I tried both versions of Indri 5.0 (x32,x64) on server and it doesn't work.
Index interface started, but do no indexing. Retrieval interface not started.
Running Indri using Java API caused exceptions.

For 64-bit version:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Indri\Indri 5.0\bin\indri_jni.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem

For 32-bit version:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Indri\Indri 5.0\bin\indri_jni.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Server configuration:
MS Windows Server 2003 R2 Enterprise x64 SP2
8-way 3.00 Ghz Intel Xeon E5450
JRE&JDK 1.6.0.24 (x64)

Help me to make it work, please.
Tell me, if you need some more information.

Thank you.

Discussion

  • David Fisher

    David Fisher - 2011-04-05

    We don't have Windows Server 2003 to test on. We support Vista and Windows 7, 32 and 64 bit. I am unable to replicate your issue on Windows 7 when installing the 64-bit version of indri from a fresh download from sourceforge.

    The unsatisfied link error may be due to the different DLLs used by Server 2003.

    You could try recompiling indri on your windows server to see if you can build a dll which will load on it.

     
  • Timofey Medvedev

    The most strange thing is that Indri works good on another server with configuration:
    MS Windows Server 2003 R2 Enterprise x64 SP2
    16-way 2.40 Ghz Intel Xeon E7340
    JRE&JDK 1.6.0.21 (x64)

    What dependencies has Indri except Java?
    I can try to copy such dlls from one server to another.

     
  • David Fisher

    David Fisher - 2011-04-05

    The indri library is built from C++ source and depends on the C, C++, and windows DLLs. I can't begin to guess what the differences between your two servers might be.

     
  • Timofey Medvedev

    Problem is not in Indri library.

    msvcp90.dll and msvcr90.dll, which are in installer, can't be used on servers.
    It's part of Microsoft Visual C++ 2008 SP1 Redistributable Package.
    Installation of this package have solved my problem (link on x64 package):
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BA9257CA-337F-4B40-8C14-157CFDFFEE4E

     

Log in to post a comment.