[Userland-team] [OpenIndiana Distribution - Bug #1066] (Resolved) tcl/tk 64bit not working

illumos project devnull at illumos.org
Sat Sep 10 19:15:18 UTC 2011


Issue #1066 has been updated by Ken Mays.

Due date set to 2011-09-14
Category set to SFW (Solaris Freeware)
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

Package updated to:
runtime/tcl-8 at 8.4.18,5.11-0.151.1:20110910T041050Z

----------------------------------------
Bug #1066: tcl/tk 64bit not working
https://www.illumos.org/issues/1066

Author: Hans Rosenfeld
Status: Resolved
Priority: High
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: oi_151_stable
Difficulty: Bite-size
Tags: Tcl/Tk


I get the following error running the 64bit tclsh (/usr/bin/amd64/tclsh8.4), trying to load the Tk package:

<pre>
% 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
</pre>

I traced this down to /usr/lib/tk8.4/pkgIndex.tcl:

<pre>
if {[package vcompare [package provide Tcl] 8.4] != 0} { return }
package ifneeded Tk 8.4 [list load [file join $dir .. libtk8.4.so] Tk]
</pre>

The attached patch fixes this for me, but I don't know where that needs to be applied.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list