Re: 32 bit applications on 64 bit machine

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





----- Original Message ----
From: John R Pierce <pierce@xxxxxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>
Sent: Tuesday, February 5, 2008 6:58:42 PM
Subject: Re: 32 bit applications on 64 bit machine

Rozsa Sandor wrote:
> Hi people,
>
> I have a 64 bit Centos machine. My problem is that I can't run 32 bit
> applications on that. I can compile with the 32 bit option my sources,
> but when I'm trying to run them I obtain the following error message:
>
> -bash: ./a.out: cannot execute binary file
> And the  file a.out returns the following:
> a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
> 2.6.9, not stripped


    $ ldd ./a.out

should list any required .so libraries

it says
$ ldd ./a.out
/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file
        not a dynamic executable


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux