On Mit, 2008-02-06 at 19:44 +0100, Juliusz Chroboczek wrote:
> > Well, how does the Debian world distinguish 32bit libraries from 64bit
> > libraries if both of them are installed (for whatever reason)?
> 
> Native libraries are in /lib and /usr/lib, non-native libraries are
> under /emul.  For example, on AMD64, IA-32 libraries live in
> /emul/ia32-linux/lib/.

To the best of my knowledge, Debian is the only distribution doing that.
At least the RedHat-like distributions have e.g. /usr/lib64 for x86_64
for sure (and putting 64bit libs into /usr/lib breaks if you want to
install both versions).
So I would extend the test and check for the existence of
e.g. /etc/debian_release (and not break other distributions).

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




