From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-01-2010 03:38 PM
Hi all,
I'm having trouble with running an executable under LabView 8.2.1. My system runs CentOS 5.4. I made a simple vi and built it as an executable. When I tried to run it though, it wouldn't run. The following error was generated:
Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.2
/usr/local/lib/LabView-8.2/linux/libOSMesa.so.4: cannot restore segment prot after reloc: Permission denied
The pointer on the first line points to the correct file. libOSMesa.so.4 has permission set to 644.
The vi is a simple data collection using VISA. Any ideas to fix this will be appreciated. Thanks!
03-01-2010 11:59 PM
03-02-2010 09:45 AM
Hello,
Can you build and run executables that do not rely on a driver? The readme for LabVIEW for Linux 8.2.1 states: "LabVIEW 8.2.1 runs on Red Hat Enterprise Linux WS 3, SuSE Linux Professional 9.1, and Mandrake Linux 10.0 or later. LabVIEW can run without hardware driver support on any other distributions that provide GNU C Library (glibc, also known as libc.so.6) Version 2.2.4 or later."
-Zach
03-02-2010 11:42 AM - edited 03-02-2010 11:44 AM
Hi,
thanks for the replies. I have the run-time engine installed, or so I thought, because otherwise I wouldn't have those files, right? How would I check for sure that I have the runtime engine and lv? When I tried the compile the vi, there were no errors generated, so I assumed that everything was in order.
I have glibc installed already, version is 2.5-42. Are there specific things I should do to build the executable that doesn't depend on hardware driver support? (FYI, CentOS 5.4 ought to be functionally equivalent to RHEL 5.4... so I am technically running one of the officially-supported distributions)
03-03-2010 11:45 AM
Hello,
You will need to use whichever package manager application you have to see what is installed on your Linux machine. The steps outlined in the knowledgebase are useful as a general guide: http://digital.ni.com/public.nsf/allkb/2266B58A5061E86A8625758C007A4FE3 .
-Zach