[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help: Strange 64bit issue

On Thu, 10 Jul 2008, Goswin von Brederlow wrote:

$ /usr/bin/maq
-bash: /usr/bin/maq: cannot execute binary file

That indicates your kernel can not execute that binary.

$ ldd /usr/bin/maq
ldd: exited with unknown exit code (126)

Usualy means the ld is missing, i.e. libc6 package missing.

Well, I guess I would have noticed if libc would be missing:

$ ldd /usr/bin/ld
        linux-gate.so.1 =>  (0xffffe000)
        libbfd- => /usr/lib/libbfd- (0xb7e1f000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cd1000)
        /lib/ld-linux.so.2 (0xb7f0c000)

It might be that some 64bit aware libc6 might be needed - I would have had
expected dpkg-buildpackage to add the right dependency if I use this


control file.  Am I missing something here?

Do you have the right kernel and libc installed?

What is "the right" kernel / libc???

$ uname -a
Linux wr-linux02 2.6.22-3-686 #1 SMP Sun Feb 10 20:20:49 UTC 2008 i686 GNU/Linux

It was installed via the the Debian kernel package:

$ dpkg -l linux-image* | grep ^ii.*2\.6\.2
ii  linux-image-2.6-686                                     2.6.24+13                            Linux 2.6 image on PPro/Celeron/PII/PIII/P4
ii  linux-image-2.6.22-3-686                                2.6.22-6.lenny1                      Linux 2.6.22 image on PPro/Celeron/PII/PIII/
ii  linux-image-2.6.24-1-686                                2.6.24-7                             Linux 2.6.24 image on PPro/Celeron/PII/PIII/

(the host was not rebootet after installing 2.6.24, but the same happens
on another boc running 2.6.24)

$ dpkg -l libc6* | grep ^ii
ii  libc6                                                   2.7-10                               GNU C Library: Shared libraries
ii  libc6-amd64                                             2.7-10                               GNU C Library: 64bit Shared libraries for AM
ii  libc6-dev                                               2.7-10                               GNU C Library: Development Libraries and Hea
ii  libc6-dev-amd64                                         2.7-10                               GNU C Library: 64bit Development Libraries f
ii  libc6-i686                                              2.7-10                               GNU C Library: Shared libraries [i686 optimi

Any hints



Reply to: