Subject: | |
From: | |
Reply To: | |
Date: | Mon, 21 Jan 2008 10:24:57 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Dear Stephan,
Thanks so much. gp now works like a charm. Of course since
/usr/lib/libpari.so.1 is a soft link to
/usr/lib/libpari.so.2.1.7
what worked for me was
sudo chcon -t textrel_shlib_t /usr/lib/libpari.so.2.1.7
Great to have such knowledgeable respondents on the SL list,
and responding so quickly!
-- Peter
========================================================
On Jan 21, 2008 at 6:49 am, [log in to unmask] wrote:
| On Sun, 20 Jan 2008, Peter Scott wrote:
|
| >However then the command "gp" fails with this error message:
| >
| >gp: error while loading shared libraries: /usr/lib/libpari.so.1: cannot
| >restore segment prot after reloc: Permission denied.
| >
| >Any idea what's wrong?
|
| You have SELinux enabled, and the shared library probably isn't built
| quite correctly. See http://people.redhat.com/~drepper/textrelocs.html
|
| Workaround: chcon -t textrel_shlib_t /usr/lib/libpari.so.1
|
| Hth,
| Stephan
|
| --
| Stephan Wiesand
| DESY - DV -
| Platanenallee 6
| 15738 Zeuthen, Germany
|
|
|
|