shared libraries and selinux

Matthew D Truch matt at truch.net
Fri Oct 12 20:57:27 UTC 2007


Greetings,

I'm the kst maintainer (a KDE scientific plotting program) and I'm
locally building version 1.5.0 (just released) for testing before I
place things in Fedora proper.  

I can easily build rpms and install them, but I get the following error:
kst: error while loading shared libraries: /usr/lib/libkstextdate.so.1:
cannot restore segment prot after reloc: Permission denied

The following chcon commands in %post fix the problem, but I don't
really know much about selinux, if this is the correct course of action,
or am I misunderstanding things.  
chcon -t texrel_shlib_t %{_libdir}/libkst*so.1*
chcon -t texrel_shlib_t %{_libdir}/kde3/kst*so
chcon -t texrel_shlib_t %{_libdir}/kde3/kstplugins/*so

Thanks in advance for any help.  

-- 
"Two Hundred -- And Forty Dollars -- Worth of Pudding -- Aww Yeah!"
--------------------------
Matthew Truch
Department of Physics and Astronomy
University of Pennsylvania
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071012/6bd1b310/attachment.sig>


More information about the fedora-devel-list mailing list