Re: libnipalu.so failed to initialize with october 2018 driver release on a fresh install of CentOS 7.5

Also, ensure that the version and release of the installed kernel matches that of the kernel-devel package. (e.g., if you have kernel 3.10.0 release 862.el7 but your kernel-devel package is 3.10.0 release 862.14.4.el7, you'll need to update your kernel to match the kernel-devel package)

Re: libnipalu.so failed to initialize with october 2018 driver release on a fresh install of CentOS 7.5

[root@hostname username]# dkms autoinstall
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.
Error! echo
Your kernel headers for kernel 3.10.0-862.el7.x86_64 cannot be found at
/lib/modules/3.10.0-862.el7.x86_64/build or /lib/modules/3.10.0-862.el7.x86_64/source.

Re: libnipalu.so failed to initialize with october 2018 driver release on a fresh install of CentOS 7.5

Yes, the installed kernel version doesn't match the version of the kernel headers. "yum update" should update your system and bring the versions in sync, and then you should be able to successfully run "dkms autoinstall" to build your drivers.

Re: libnipalu.so failed to initialize with october 2018 driver release on a fresh install of CentOS 7.5

(which downloaded several hundreds of MBytes) followed by a computer restart solved the problem.

I want to be sure to understand correctly the issue. When installing the ni-daqmx package from the NI RPM repository, one of its dependencies, the kernel headers (from the kernel-devel package I assume), gets pulled in. Unfortunately, those headers versions are not checked against the current installed kernel version. But more importantly, it seems like a given ni-daqmx package version has a pretty strong dependency on a specific kernel version. Why is this kernel version not in the ni-daqmx dependency list then? Am I missing something or is it a correct understanding of the situation?

In any case I would suggest to make the installation instructions much clearer on that topic to avoid that trap. As it is, the user experience if very far from optimal.

Re: libnipalu.so failed to initialize with october 2018 driver release on a fresh install of CentOS 7.5

@mat131I want to be sure to understand correctly the issue. When installing the ni-daqmx package from the NI RPM repository, one of its dependencies, the kernel headers (from the kernel-devel package I assume), gets pulled in. Unfortunately, those headers versions are not checked against the current installed kernel version. But more importantly, it seems like a given ni-daqmx package version has a pretty strong dependency on a specific kernel version. Why is this kernel version not in the ni-daqmx dependency list then? Am I missing something or is it a correct understanding of the situation?

Close. The software stack doesn't need any particular kernel version, so forcing yum to update the kernel during the installation process wouldn't be feasible. Further, upgrading the user's kernel when installing a software package would probably be undesirable from a principle of least surprise standpoint.

The software does have a dependency on kernel-devel, and that package needs to match the version of whatever kernel is running. RPM doesn't really give a way to express that, though, and yum will simply fetch the latest version of kernel-devel. In this case, the CentOS maintainers have newer kernel and kernel-devel packages available than those that originally shipped with the distribution. Your system had the older kernel, and installing the NI stack retrieved the later, mismatched kernel-devel.

Instead of the "yum update" you could have also just downgraded the version of kernel-devel, but sometimes the older versions of those packages are no longer available.