Bug 514222

Summary: /usr/lib64/libtcl8.5.so requires text relocation
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: tclAssignee: Nikola Pajkovsky <npajkovs>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dhoward, drepper, npajkovs, vonbrand, wart
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tcl-8.5.7-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-10 10:52:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Walsh 2009-07-28 12:59:16 UTC
Description of problem:

SELinux is complaining about /usr/lib64/libtcl8.5.so requiring text relocation.  THis will cause errors on SELinux systems.

Usually this is caused  by the library being built without the proper PIC flags.

This link 

http://people.redhat.com/~drepper/selinux-mem.html

explains the protection.

Comment 1 Nikola Pajkovsky 2009-07-29 07:45:55 UTC
*** Bug 514333 has been marked as a duplicate of this bug. ***

Comment 2 Horst H. von Brand 2009-07-29 19:31:04 UTC
Works now (tcl-8.5.7-3.fc12.x86_64)

Comment 3 Horst H. von Brand 2009-07-31 20:34:37 UTC
Sorry, false alarm. It still crashes.

Comment 4 Nikola Pajkovsky 2009-08-05 11:52:56 UTC
Try this build. Problem is with systemtap. Systemtap is disabled now, but I'll working on it. Give me info please.

http://koji.fedoraproject.org/koji/taskinfo?taskID=1583279

Comment 5 Horst H. von Brand 2009-08-05 17:56:59 UTC
Yep, that one works (at least starts without crashing).

Now loocking at Tk....

$ wish
Application initialization failed: Can't find a usable tk.tcl in the following directories: 
    /usr/share/tk8.5 /usr/share/tcl8.5/tk8.5 /usr/lib64/tcl8.5/tk8.5 /usr/lib/tk8.5 /lib/tk8.5 /usr/library

/usr/share/tk8.5/tk.tcl: can't set "::tk_strictMotif": missing close-brace
missing close-brace
    while executing
"::tk::Evt?} {File "%1$s" ::tk_strictMotif {} write"
    (write trace on "::tk_strictMotif")
    invoked from within
"set ::tk_strictMotif $::tk_strictMotif"
    ("x11" arm line 19)
    invoked from within
"switch -exact -- [tk windowingsystem] {
    "x11" {
	event add <<Cut>> <Control-Key-x> <Key-F20> <Control-Lock-Key-X>
	event add <<Copy>> <Control-Key..."
    (file "/usr/share/tk8.5/tk.tcl" line 358)
    invoked from within
"source /usr/share/tk8.5/tk.tcl"

Reporting over there.
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Comment 6 Nikola Pajkovsky 2009-08-06 10:47:15 UTC
Be sure you have systemtap vesion 0.9.9. Build
http://koji.fedoraproject.org/koji/taskinfo?taskID=1585989

Comment 7 Nikola Pajkovsky 2009-08-10 10:52:55 UTC
build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1594345

Comment 8 Horst H. von Brand 2009-08-10 19:22:06 UTC
Yes, that fixes it.

systemtap-0.9.9-2.fc12.x86_64 right now.

Thanks!