Errors When Opening GPIB Explorer On RedHat 7 or CentOS 7

Updated Apr 25, 2023

Reported In

Driver

  • NI-488.2

Other

OS: RedHat/CentOS 7.x or below
Driver: NI Linux Device Drivers 2021Q3 or below

Issue Details

When opening GPIB Explorer on RedHat 7.x, I receive the following errors:
 
  • Can't Find Library libniPythonInterface.so.
  • The attempted operation failed. libnipalu.so failed to initialize. Verify that nipalk.ko is built and loaded.
  • Failed to get all configured GPIB interfaces

I followed these installation instructions and the NI-488.2 driver appears to have installed without error. How can I resolve these errors and use GPIB Explorer?

Solution

This issue is caused by having Secure Boot enabled as NI drivers do not currently support Secure Boot on Linux. To resolve this error an use GPIB Explorer, you will need to do either of the steps listed below:
 
  • Disable Secure Boot in the BIOS or in RHE.
  • Manually sign all NI drivers that reported these error. This document from RHE gives an overview of this process.
Note: A system reboot will be required after performing either one of these steps.