Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

64 bit ni4882 support on Linux

$
0
0

I am trying to port a program written in Free Pascal that uses the ni4882 library from 32 bit Windows 7 to 64 bit Linux.  The program works fine on the 32 bit Windows machine.  I installed the latest OpenSuse distribution (Leap 15.1) and the latest NI488.2 software for Linux (17.0) from the NI website.  The NI488.2 software appeared to install without errors, and all the appropriate dynamic link libraries are installed in their appropriate folders (e.g., /usr/local/lib64), which are actually soft links to the actual files in /usr/local/natinst.  

 

The linux system is 64 bit, and the program is compiled as a 64 bit program, and I therefore presumably want to use the 64 bit NI4882 library (/usr/local/lib64/libni4882.so).  Using nm -D on this file shows me it has the correct symbols.  However, when I try to load the dynamic library using Pascal's LoadLibrary, the program crashes with a SIGABRT error, with no other information.  Loading another library in the same folder succeeds with no errors, giving a handle to the library as expected, so there is no problem with the code.

 

It looks like something is wrong with the dynamic library that is installed by the install program.  Any help with this problem would be greatly appreciated.

 

Venkat Chandrasekhar

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>