Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

selinux problem?

I have ni4882-2.5.4b1-release.tar.gz and the new NIKAL 1.9 running on Fedora 10 x86_64.

There seem to be some issues until you disable selinux:

[root@xena ~]# /usr/local/natinst/ni4882/bin/gpibexplorer
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
[root@xena ~]# setenforce 0
[root@xena ~]# /usr/local/natinst/ni4882/bin/gpibexplorer
[root@xena ~]#

The above shows an error running gpibexplorer until "setenforce 0" is called to disable selinux.

Is this a known issue?

- Mike

0 Kudos
Message 1 of 2
(5,879 Views)

I am not an selinux user, but I get the feeling that you probably need to try something like is suggested here:

http://forums.ni.com/ni/board/message?board.id=170&message.id=369135

Run "/usr/bin/chcon -f -t textrel_shlib_t /usr/local/lib/linux/libOSMesa.so.4"

Cheers!

0 Kudos
Message 2 of 2
(3,250 Views)