[Pkg-team] [OpenIndiana Distribution - Bug #1066] tcl/tk 64bit not working

illumos project devnull at illumos.org
Sun Jun 5 23:13:51 UTC 2011


Issue #1066 has been updated by Ryo Murakawa.

Assignee changed from Ryo Murakawa to OI PKG


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

Author: Hans Rosenfeld
Status: New
Priority: High
Assignee: OI PKG
Category: 
Target version: 
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 Pkg-team mailing list