Re: How do I run 32-bit programmes on 64-bit linux?
Worik Stanton <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <[email protected]> |
On 04/10/13 09:44, Paul Campbell wrote:
> On Fri, 04 Oct 2013 09:40:06 Worik Stanton wrote:
>> I have a bunch of programmes that have been compiled for 32-bit Linux
>> and I'm running 32-bit. I could track down all the source or run a
>> virtual machine, but is there a simpler way?
>
> 32-bit programs should run on a 64-bit system provided you have all the 32-bit
> shared libraries your program needs loaded as well
>
> Paul
>
Hmmm...
Which libraries might those be? Looks to me that it never gets to
loading libraries. I do not want to install everything "lib32..." Since
(as below) strace is not helping me how do I determine which libraries I
need?
Keon$ strace ./fastboot
execve("./fastboot", ["./fastboot"], [/* 44 vars */]) = -1 ENOENT (No
such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f7e27692000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such
file or directory
) = 40
close(3) = 0
munmap(0x7f7e27692000, 4096) = 0
exit_group(1) = ?
--
"As I went walking I saw a sign there And on the sign it said 'No
Trespassing' But on the other side it didn't say nothing, That side
was made for you and me" – Woody
[email protected] 021-1680650, (03) 4821804
_______________________________________________
DunLUG mailing list
[email protected]
http://lists.ethernal.org/listinfo/dunlug
DunLUG Wiki - http://dunlug.kallisti.net.nz/
signature.asc
(application/pgp-signature, 555 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSTd0wAAoJEDgltBsVWtVcVnsH/iPhqizuo0CMOi/BDi2L/dCk h3GI4fonUbpvEqcPThVGVPHIetcKKMrrSgKnrJ0aJ8nBZOaCb2iC3dHek+OWPuXH AR0txnAgqSEqI0geK2ZUm4/RbAx57p9+rpc4/9uC30TQpY8Hk+mo2rZCjeLJ8f2Z Jm9F/bVVRFul0xVKC8kCBOB95ZO1gpIcy6i203LZ+sX62KuYl4VOW1FMBuKWxoyh R7wePkzbqibOc/Un0Ze1yoMjrAAv5OsKCuKlR9plSY7VVSnqawBJ1kriICEiIiZN YKgTk5LbmTNdeui7RhHa/F05yaLrh7ct5chhMsSEU9tqisOWOWj2vMBbCxkuBb4= =bE3P -----END PGP SIGNATURE-----