Why do I need lib64 on my 32 bit machine?

Posted by Tim on Ask Ubuntu See other posts from Ask Ubuntu or by Tim
Published on 2011-02-10T04:21:44Z Indexed on 2011/02/10 7:33 UTC
Read the original article Hit count: 420

Filed under:
|
|
|

I am trying to install Oracle on my 32-bit machine that runs Ubuntu 10.4. I am following install Oracle on Ubuntu tutorial. At the very first step there is a requirement to manually install library libstdc++5. Author does 2 steps:

  1. download libstdc++5_3.3.6-17ubuntu1_amd64.deb from here
  2. download ia32-libs_2.7ubuntu6.1_amd64.deb from here

As you may have probably noticed these 2 files contain an "_amd64" postfix, which pointed me out that author is using 64-bit amd processor. Each of these files author copied to /usr/lib64 and /usr/lib32 folders correspondingly and simply make soft links libstdc++.so.5 in both folders.

Since I am running 32-bit machine I have simply downloaded those 2 files without "_amd64" postfix.

Unexpectedly for me I have also found 2 lib folders in my /usr folder: /usr/lib64 and /usr/lib.

So here is my problem: I do not understand which files and where do I have to copy:

1) Do I have to make the same steps as the author has done, i.e. download files with "_amd64" postfixes and place them in my /usr/lib64 and /usr/lib folders?

2) Or do I have to use libraries without "_amd64" postfix?

And one more question: why do I have /usr/lib64 at all?

© Ask Ubuntu or respective owner

Related posts about 64-bit

Related posts about 32-bit