LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application cannot load runtime library when run from command line

I have built my first LabView application (on Fedora 5 Linux) which runs OK if launched from the Project Explorer, however if I try and run it from the command line it generates two errors:
1) Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.2
2) /usr/local/lib/LabVIEW-8-2/libOSMesa.so.4: cannot restore segment prot after reloc: Permission denied
 
Note: the runtime library is present in the location identified.
 
Can anyone shed any light on what I need to do to resolve these issues as I can't find any info in the NI website or in the documentation?
 
TIA
0 Kudos
Message 1 of 4
(3,348 Views)
Hi TIA,
 
Are you using a security management system like SELinux?
Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 2 of 4
(3,320 Views)

Hi Sarah

Thanks for replying and sorry for the delay - been on holiday 🙂

I am not running any security additions, just a vanilla Fedora 5 Linux installation.

Does anyone have any suggestions as to where I may look to solve this problem as I am at a loss at the moment.

0 Kudos
Message 3 of 4
(3,290 Views)

Just to close this thread, Sarah was right.

I did not realise that Fedora Core 5 installs with SELinux enhancements and this was the cause of the problem. Having turned off SELinux, my Labview application now runs from the command line as required.

Thanks Sarah

 

0 Kudos
Message 4 of 4
(3,278 Views)