Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
questions on 32bit application installs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Fri May 27, 2005 2:54 am    Post subject: questions on 32bit application installs Reply with quote

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
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Fri May 27, 2005 3:23 am    Post subject: Reply with quote

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
View user's profile Send private message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Fri May 27, 2005 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Fri May 27, 2005 4:50 am    Post subject: Reply with quote

Just copy it over.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum