Gentoo Archives: gentoo-amd64

From: Richard Freeman <rich@××××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] linux32 or chroot
Date: Sat, 29 Oct 2005 15:47:14
Message-Id: 436398AE.7010206@thefreemanclan.net
In Reply to: [gentoo-amd64] linux32 or chroot by sean
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 sean wrote:
5 > What usually works better for installing x86 programs, linux32 or
6 > creating a chroot 32 environment?
7 > I am guessing it is a bit of both.
8 >
9
10 Depends on the nature of the "incompatibility". If the application
11 checks the arch reported by the kernel/uname/etc and fails if it isn't
12 x86, then linux32 will fix your problem (if that is the only problem).
13
14 On the other hand, if the program is dynamically linked to some library
15 that isn't in the emul libs, then it won't run simply by lying about the
16 installed OS. You either need to build the 32-bit lib and put it in the
17 right place manually, or you need a chroot.
18
19 My guess is that many games are statically linked to obscure libs to
20 avoid dependency issues - in which case you're fine.
21
22 Just make sure your game isn't installing stuff all over the filesystem
23 - - the last thing you need is the game's glibc or some other common
24 library overwriting your own 64-bit version! The game would run fine,
25 unlike just about everything else on your system...
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v1.4.1 (GNU/Linux)
28 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
29
30 iD8DBQFDY5itg2bN8aFizRkRAsZSAKCr1JjF2o757Oe+ucqjlJBBUJjzTACgmWov
31 X/IKIUB1M/il98c6VHnhzIQ=
32 =on7C
33 -----END PGP SIGNATURE-----

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature