Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multilib? The correct path
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hubertnnn
n00b
n00b


Joined: 26 Oct 2013
Posts: 28

PostPosted: Mon Nov 11, 2013 12:54 pm    Post subject: Multilib? The correct path Reply with quote

Hi, I am using gentoo for few weeks now and I got to another wall, I need to break, multilib. I am trying to install a 32 bit application (PCSX2) and I have some missing libraries. After googling a bit I found gentoo have 4 ways of getting multilib support:
1. Multilib profile
2. emul-linux-x86-... packages
3. ABI_X86="32 64" in make.conf
4. 32 bit chroot

Since those methods are not compatible with each other (when I tried method 3 i got conflicts with packages from method 2 installed by wine I think) my question is:
What are pros and cons of each method and what method would you recommend for long run.
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 612
Location: Munich, Germany

PostPosted: Mon Nov 11, 2013 2:59 pm    Post subject: Reply with quote

Option 1: A multilib profile will only give you a multilib gcc and a multilib glibc. No x11 libs and such. Thats what option 2 and 3 are for.

Option 2 and 3:
In the past, there was no ABI_X86. If you wanted 32bit libs you had to install emul-linux-x86-... packages.
Currently all packages are beeing changed to support ABI_X86, making emul-linux-x86-... packages obsolete. Since the process is complicated and time consuming emul-linux-x86-... packages are beeing used as transition packages. They only include libs which have not been converte to ABI_x86.

If you are running amd64:
- go with emul-linux-x86-... packages, do not tinker with ABI_X86. It's not ready yet.

If you are running ~amd64
- go with ABI_x86. you will still have emul-linux-x86-... packages installed but these will only give you the packages that don't support ABI_x86 (yet).

Option 4: Should work fine. Remember to use ACCEPT_KEYWORDS=x86 in chroot make.conf. But why use a chroot if you don't have to?
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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