[Magic-dev] lib64 bug

Don Lindsay lindsay at don-lindsay-archive.org
Thu Jun 21 22:02:48 EDT 2007


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



More information about the magic-dev mailing list