[Magic-dev] lib64 bug
Jeff Sondeen
sondeen at ISI.EDU
Thu Jul 5 17:52:04 EDT 2007
i forget all the details, but there's a kindof bug in the tcl install
on redhat 64 bit machines, you have to work around it by editting a
magic startup file, to get the 64bit libs looked at first, below is
what i added, you may have to edit for yours.
/jeff
edit for lib/magic/tcl/tkcon.tcl:
#jws:
#set auto_path [linsert $auto_path 0 /usr/lib64 ]
#set auto_path
puts stderr "old auto_path: $auto_path"
set auto_path [lreplace $auto_path 2 2]
set auto_path [linsert $auto_path end /usr/lib64/blt2.4 ]
puts stderr "new auto_path: $auto_path"
Don Lindsay writes:
> I installed
> magic-7.4.35-2.fc7.rpm
>
> on my x86_64 box. But when I typed in:
>
> magic
>
> I got a window named "tkcon 2.3 Main" which said:
> -----------------------------------------
> loading history file ... 1 events added
> error in slave eval:
> couldn't load file "/usr/lib/tk8.4/../libtk8.4.so":
> /usr/lib/tk8.4/../libtk8.4.so: wrong ELF class: ELFCLASS32
> Main console display active (Tcl8.4.13 / Tk8.4.13)
> (lindsay) 2 %
> -----------------------------------------
>
> Sure enough, /usr/lib/libtk8.4.so is 32 bit. The code needs to look in
> /usr/lib64.
>
> I assume there's some magic environment variable that I haven't set?
>
> Thanks,
> Don
>
> _______________________________________________
> magic-dev mailing list
> magic-dev at vlsi.cornell.edu
> http://vlsi.csl.cornell.edu/mailman/listinfo/magic-dev
More information about the magic-dev
mailing list