[Magic-dev] lib64 bug
Chitlesh GOORAH
chitlesh at fedoraproject.org
Fri Jul 6 03:38:59 EDT 2007
On 6/22/07, Don Lindsay <lindsay at don-lindsay-archive.org> wrote:
> 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?
Actually, at the fedora project, we are moving towards to the multilib
system. Hence you are likely to see some i386 rpm installed on your
x86_64. This isn't a bug, but a feature.
However magic should be able to pick up the proper libraries for tk.
And this is a bug in the magic rpm. Sorry my fault, I don't have a 64
bit platform to test.
Can you give me the output of:
rpm -qa | grep tk
rpm -qa | grep tcl
and finally
rpm -qR magic
Chitlesh
--
http://clunixchit.blogspot.com
More information about the magic-dev
mailing list