Uninstall problems.

Posted by klmt on 2014-02-07 04:07

I am having issues uninstalling ActiveTCL 8.4. I set the permissions for the uninstall script properly, but it gives me this error, and does not complete:

 dlopen(/Library/Frameworks/Tk.framework/Versions/8.4/Tk, 6): no suitable image found.  Did find:
        /Library/Frameworks/Tk.framework/Versions/8.4/Tk: mach-o, but wrong architecture
        /Library/Frameworks/Tk.framework/Versions/8.4/Tk: mach-o, but wrong architecture
        /System/Library/Frameworks/Tk.framework/Versions/8.4/Tk: mach-o, but wrong architecture
    while executing
"load /Library/Frameworks/Tk.framework/Versions/8.4/Tk Tk"
    ("package ifneeded" script)
    invoked from within
"package require Tk"
    (file "./uninstall" line 4) <blockcode>

grahams
ActiveState Staff
Fri, 2014-02-07 11:36

The 8.4 uninstaller uses ActiveTcl 8.4 PPC/x86 binaries, and won't run in 64-bit mode.

Try adding -d32 as an option to the uninstall script.

I
klmt | Sun, 2014-02-09 00:13

I ran:

/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts/uninstall -d32

It returns the same error.

klmt | Sun, 2014-02-09 00:20

I believe I got it to work. The command I used was:

sudo arch -i386 /Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts/uninstall

This completed without errors.