ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Could not open CAPKI shared library, errno is 126

book

Article ID: 145791

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction


We're running command XPSRegClient to register the AdminUI and then

the command fails with the error :

  PS D:\Program Files\CA\siteminder\bin> XPSRegClient siteminder:password -adminui-setup -vT
  [XPSRegClient - XPS Version 12.8.0200.1992]
  Log output: D:\Program Files\CA\siteminder/log/XPSRegClient.2020-01-13_123535.log
  Initializing system, please wait...
  Could not open CAPKI shared library, errno is 126
  Could not open CAPKI shared library, errno is 126
  (ERROR) : [sm-xadobj-00010] Object store initialization failed.
  (FATAL) : [sm-xpsxps-03570] SiteMinder interface initialization failed.
  (WARN) : [Assert] Assert failed: pSmStore
  (FATAL) : [sm-xpsxps-04120] Unable to initialize the XPS library.

How can we fix that ?

Environment


  Policy Server 12.8SP2 on Windows;

Resolution


Make sure that the repository :


  D:\Program Files\CA\SC\CAPKI\CAPKI5\Windows\amd64\64\lib

is accessible on the machine and all libraries are available in it.