Archived:Libstdc++ Library Is Missing While Trying to Install NI Drivers on Linux

Updated May 16, 2019

National Instruments does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Hardware

  • PXI Controller

Driver

  • NI-VISA
  • NI-DAQmx

Operating System

  • Linux

Issue Details

I am trying to install a National Instruments driver on my Linux computer (CentOS/RedHat/SUSE), but everytime I face an error message saying that libstdc++.so.6 dependency is missing :
Pre Installation . 
Post Installation . 
Pre Installation ................................... 
error: Failed dependencies: libstdc++.so.6 is needed by ni-pal-16.0.0.49153-0+f1.i386 
libstdc++.so.6 is needed by niorbki-14.1.1-f0.x86_64 
Error installing NI-VISA for Linux 16.0.0f0. 

Installer is aborted
What can I do ?

Solution

This document only applies to versions of NI software released prior to NI Linux Device Drivers. For new designs, NI recommends using NI Linux Device Drivers to take advantage of repository-based installation and more frequent updates to support.

libstdc++.so.6 is a standard GNU C++ library that can be found through yum command line.

In order to find which package contain libstdc++.so.6, you can enter the following command
>> yum provides libstdc++.so.6
Then, chose one of the suggested packages.

If the package is already installed, then try to reinstall the package through the following command :
>> yum reinstall libstdc++.so.6

WAS THIS ARTICLE HELPFUL?

Not Helpful