SCIENTIFIC-LINUX-USERS Archives

January 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Scott <[log in to unmask]>
Reply To:
Peter Scott <[log in to unmask]>
Date:
Mon, 21 Jan 2008 10:24:57 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
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
| 

ATOM RSS1 RSS2