Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot launch visaconf because Can't find library libniPythonInterface.so and libnipalu.so failed to initialize

I am installing NI-VISA on CentOS7

 

Download Linux Device Drivers: https://www.ni.com/en-us/support/downloads/drivers/download.ni-linux-device-drivers.html

 

Install in Terminal

unzip unzip NILinux2019DeviceDrivers.zip
sudo rpm -i ni-software-2019-19.2.0.49152-0+f0.el7.noarch.rpm
sudo yum list available | grep "ni-software" | grep "visa"
sudo yum -y install ni-visa

 

After installation, I try:

cd /usr/bin

 

Can't find library libniPythonInterface.so
Make sure this library is installed in your LD_LIBRARY_PATH
search path, or in /usr/lib64
libnipalu.so failed to initialize
Verify that nipalk.ko is built and loaded.

 

Please advise if there is anything else that I need to install.
Aborted (core dumped)

0 Kudos
Message 1 of 5
(4,122 Views)

As usual, no answer from NI 😞

0 Kudos
Message 2 of 5
(3,984 Views)

Hi all!

I have the same issue on CentOS Stream and the latest linux driver package (NILinux2020DeviceDrivers.zip).

 

Searching the internet doesn't gave much more than this thread. Was anyone able to resolve this problem or could point me to some resource?

 

Any help is really appreciated!

 

Best regards from Germany

Hans

0 Kudos
Message 3 of 5
(3,855 Views)

Have you searched your entire hard drive to see if it is there.  I have been fighting problems on Ubuntu with the runtime.  I ended up fixing the runtime problems by creating symbolic links in the /usr/lib64 folder to the places where the runtime was installed.  I wouldn't think you would need to do this on a supported Linux distro though.  

0 Kudos
Message 4 of 5
(3,841 Views)

Hello,

 

I just had more or less the same problem (only the libni part).

But I have this problem only when I'm using the RTE, not the full LabVIEW.

 

I just copied the links and library from one PC to the other and I don't have anymore the error.

 

--> I attached the libraries in the tar file, it needs to be untar from / (and via root user of course).

 

Those files comes from 2020 version.

 

I don't have the problem with libnipalu anymore, but I had it in the past.

 

 

CentOS Stream is not supported by LabVIEW, I'm quite sure that the kernel is too recent.

ni-visa works on kernel 4.12.14 openSUSE Leap 15.1.

I had some problems with ni-visa on CentOS 8.

0 Kudos
Message 5 of 5
(3,129 Views)