<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi,<br>The command ldd returns<br>$ ldd ./a.out <br>/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file<br> not a dynamic executable<br><br>and <br>$ ls -l /lib/ld-linux.so.2 <br>lrwxrwxrwx 1 root root 9 Jan 31 16:57 /lib/ld-linux.so.2 -> ld-2.5.so<br><br>The compat packages are installed (yum install compat*)<br><br>Any suggestion how can I fix this problem.<br><br>Thanx<br><br>s<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Rozsa Sandor <rozsa_sandor_gyula@yahoo.com><br>To: CentOS mailing list <centos@centos.org><br>Sent: Tuesday, February 5, 2008 10:54:17
PM<br>Subject: Re: [CentOS] 32 bit applications on 64 bit machine<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: John R Pierce <pierce@hogranch.com><br>To: CentOS mailing list <centos@centos.org><br>Sent: Tuesday, February 5, 2008 6:58:42 PM<br>Subject: Re: [CentOS] 32 bit applications on 64 bit machine<br><br>
Rozsa
Sandor
wrote:<br>>
Hi
people,<br>><br>>
I
have
a
64
bit
Centos
machine.
My
problem
is
that
I
can't
run
32
bit <br>>
applications
on
that.
I
can
compile
with
the
32
bit
option
my
sources, <br>>
but
when
I'm
trying
to
run
them
I
obtain
the
following
error
message:<br>><br>>
-bash:
./a.out:
cannot
execute
binary
file<br>>
And
the
file
a.out
returns
the
following:<br>>
a.out:
ELF
32-bit
LSB
executable,
Intel
80386,
version
1
(SYSV),
for <br>>
GNU/Linux
2.6.9,
dynamically
linked
(uses
shared
libs),
for
GNU/Linux <br>>
2.6.9,
not
stripped<br><br><br>
$
ldd
./a.out<br><br>should
list
any
required
.so
libraries<br><br>it says<br>$ ldd ./a.out <br>/usr/bin/ldd: line 161: /lib/ld-linux.so.2: cannot execute binary file<br> not a dynamic executable<br><br><br>_______________________________________________<br>CentOS
mailing
list<br><a rel="nofollow" ymailto="mailto:CentOS@centos.org" target="_blank" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a rel="nofollow" target="_blank" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></div><br></div></div><br>
<hr size="1">Looking for last minute shopping deals? <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a><!-- kill --><div><br><br>-----Inline Attachment Follows-----<br><br>_______________________________________________<br>CentOS
mailing
list<br><a ymailto="mailto:CentOS@centos.org" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br></div></div><br></div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>