Actions
Bug #1066
closedtcl/tk 64bit not working
Start date:
2011-05-25
Due date:
2011-09-14
% Done:
100%
Estimated time:
8.00 h
Difficulty:
Bite-size
Tags:
Tcl/Tk
Description
I get the following error running the 64bit tclsh (/usr/bin/amd64/tclsh8.4), trying to load the Tk package:
% package require Tk couldn't load file "/usr/lib/tk8.4/../libtk8.4.so": ld.so.1: tclsh8.4: fatal: /usr/lib/tk8.4/../libtk8.4.so: wrong ELF class: ELFCLASS32
I traced this down to /usr/lib/tk8.4/pkgIndex.tcl:
if {[package vcompare [package provide Tcl] 8.4] != 0} { return } package ifneeded Tk 8.4 [list load [file join $dir .. libtk8.4.so] Tk]
The attached patch fixes this for me, but I don't know where that needs to be applied.
Files
Updated by Albert Lee about 11 years ago
The "load" function itself should probably be aware of $ISALIST somehow.
Updated by Ryo Murakawa almost 11 years ago
- Assignee set to Ryo Murakawa
- Tags changed from needs-triage to Tcl/Tk
Updated by Ryo Murakawa almost 11 years ago
- Assignee changed from Ryo Murakawa to OI PKG
Updated by Ken Mays over 10 years ago
- Due date set to 2011-09-14
- Category set to 10
- Status changed from New to Resolved
- Assignee changed from OI PKG to OI Userland
- Target version set to oi_151_stable
- % Done changed from 0 to 100
- Estimated time set to 8.00 h
Packages updated to:
runtime/tcl-8@8.4.18,5.11-0.151.1:20110912T024729Z
runtime/tk-8@8.4.18,5.11-0.151.1:20110912T024851Z
/usr/bin/amd64/tclsh8.4 should properly resolve to /usr/lib/amd64/libtk8.4.so
Actions