View previous topic :: View next topic |
Author |
Message |
plut0 Apprentice
Joined: 21 Dec 2004 Posts: 272
|
Posted: Fri May 27, 2005 2:54 am Post subject: questions on 32bit application installs |
|
|
I have a built a 32bit x86 install within my 64bit amd64 install. I did this to install some 32bit only applications. I have never done this before so I need some things clarified.
1. If I build a 32bit application does it also needs to be run within the 32bit chroot? If so I plan on using dchroot to execute 32bit applications, will this be ok?
2. If I build an (32bit) application it will have dependencies. The dependencies can be either 64bit or 32bit, correct? Where do the dependencies need to be installed, on the 64bit side or 32bit side? Or do I need to just update the library paths?
3. For 32bit applications with 32bit only dependencies, how/where do I install the dependencies?
I hope I asked the right questions, this is very confusing for me. |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Fri May 27, 2005 3:23 am Post subject: |
|
|
1. You dont need 32bit chroot to run 32bit applications. In fact you can still use all your 32bit userland with the 64bit kernel.
2. You need 32bit libs to run 32bit software and 64bit libs to run 64bit software
3. 64bit libs are in /lib and /usr/lib, 32bit are in /lib32 and /usr/lib32.
It's just the only thing that changes in 64bit install is the kernel, you can still use 32bit userland or 64bit userland or both. |
|
Back to top |
|
|
plut0 Apprentice
Joined: 21 Dec 2004 Posts: 272
|
Posted: Fri May 27, 2005 3:27 am Post subject: |
|
|
I understand what you said but I'm still not clear on a few things. If the kernel is capable of running 32bit applications then my next question is, how do I get the 32bit applications and 32bit dependencies (not part of the system) from the chroot to the amd64 install? |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Fri May 27, 2005 4:50 am Post subject: |
|
|
Just copy it over. |
|
Back to top |
|
|
|