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

Re: 32bit binaries run on pure64!?



On Fri, 18 Mar 2005 13:20:08 -0600, Stephen Waters wrote:
> On Fri, 2005-03-18 at 20:15 +0100, Hannes Mayer wrote:
[...]
> > How come that 32bit binaries run on pure64 without any chroot or the
> > ia32 libs installed ?
> 
> They're probably statically compiled so they'll work on any system. Run
> ldd on one of the binaries and it'll tell ya what it links to (very
> likely, nothing).

Hi Stephen!

Ahh! Didn't consider that they are compiled statically.
But ldd seems to be broken:
# ldd pppd
/usr/bin/ldd: line 145: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)
# ldd pptp
/usr/bin/ldd: line 145: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)
# ldd dhcpcd
/usr/bin/ldd: line 145: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

So I tried to make a symlink:
debian:/lib# ln -s ld-2.3.2.so ld-linux.so.2
But:
# ldd pptp
        not a dynamic executable

Thanks & best regards,
Hannes.



Reply to: