Wine on x64 bit Ubuntu 6.06 (was Re: [nzlug] Wine on Ubuntu?)

Michal Ludvig michal at logix.cz
Mon Jan 8 01:31:52 NZDT 2007


Robin Sheat wrote:
> On Sunday 07 January 2007 00:54, Michal Ludvig wrote:
>> Vice versa. 32bit libs are in .../lib and 64bit libs belong to .../lib64
> Nope (at least in Ubuntu 6.10):
> $ ls -ld /lib* /usr/lib*
> drwxr-xr-x  19 root root  4760 2006-10-25 04:15 /lib
> drwxr-xr-x   2 root root  2104 2006-11-08 11:28 /lib32
> lrwxrwxrwx   1 root root     3 2006-09-01 23:19 /lib64 -> lib
> drwxr-xr-x 181 root root 69720 2007-01-07 11:48 /usr/lib
> drwxr-xr-x  16 root root  9080 2006-11-08 11:39 /usr/lib32
> lrwxrwxrwx   1 root root     3 2006-09-01 23:19 /usr/lib64 -> lib

That's a wrong layout. Really. If Ubuntu alone did this mess it's
definitely worth a bugreport. See what the official AMD64 ABI [*] says:

===
A.1 Execution of 32-bit Programs
The AMD64 processors are able to execute 64-bit AMD64 and also 32-bit
ia32 programs. Libraries conforming to the Intel386 ABI will live in the
normal places like /lib, /usr/lib and /usr/bin. Libraries following the
AMD64, will use lib64 subdirectories for the libraries, e.g /lib64 and
/usr/lib64. Programs conforming to Intel386 ABI and to the AMD64 ABI
will share directories like /usr/bin. In particular, there will be no
/bin64 directory.
===

Fortunately there _are_ distros that get it right ;-)

[*] Application Binary Interface:
http://www.x86-64.org/documentation/abi.pdf

Michal




More information about the NZLUG mailing list