Menu

#11 Could not load ARS shared libraries

v1.0_(example)
closed
Ergorion
None
1
2020-07-11
2017-03-15
Anonymous
No

Hi Ergorion,

There is an issue when executing 'from pyars import erars'.
My environment:
windows PC:64bit
python:2.7.12 64 bit
pyars:1.8.2 64bit
Remedy: ARSuiteKitClient7604SP5_Windows.exe

In fact, i cannot find these dll in my windows pc "arapi.dll, arrpc.dll, arutl.dll".


FATAL ERROR: Could not load ARS shared libraries
The current system path is set to the following directories:
C:\Perl\site\bin
C:\Perl\bin
C:\Program Files (x86)\RSA SecurID Token Common
C:\Program Files (x86)\Intel\iCLS Client\ C:\Program Files\Intel\iCLS Client\ C:\ProgramData\Oracle\Java\javapath
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0\ C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files\Intel\WiFi\bin\ C:\Program Files\Common Files\Intel\WirelessCommon\ C:\Program Files (x86)\Common Files\EMC\ C:\Program Files (x86)\AccuRev\bin
C:\Program Files (x86)\EMC\Unisphere CLI
C:\Python27\ C:\Python27\Scripts\ C:\ProgramData\chocolatey\bin
C:\mysql-5.6.35\bin
C:\Program Files\Git\cmd
I also looked in the Remedy install directories that I found in the registry:
C:\ProgramData\Application Data\AR SYSTEM\home
C:\Program Files\BMC Software\ARSystem\user
This python version is running as 64bit.
Please double check your PATH settings and make sure you have:
on Windows and cygwin: arapi.dll, arrpc.dll, arutl.dll
on Solaris and Linux: libar.so and libari.so
in the appropriate version (e.g. arapi63.dll, libarjni63.so).

Discussion

  • Anonymous

    Anonymous - 2017-03-15

    But I can find these dll like 'arapi7604_build002,arrpc7604_build002,arutl7604_build002. Maybe the 64bit pyars cannot find 32bit remedy dll.

     
  • Ergorion

    Ergorion - 2017-03-17

    Hi!

    You are right, the naming has slightly changed (IFIRC). Under Windows, pyARS can cope with both 32bit as well as 64bit usage. It really depends on the python interpreter that you are using. And as you can tell from the output you are running a 64bit version of python.
    Then it is mandatory to also use the 64bit version of the Remedy API, which is called seomthing like arapi7604_build002_win64.dll

    So there are two potential solutions:
    a) you get the 64bit version of the DLL.
    b) you use a 32bit Python.

    Hope this helps.

     
  • Ergorion

    Ergorion - 2017-03-17
    • status: open --> accepted
     
  • Ergorion

    Ergorion - 2020-07-11
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel