Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
baselayout-2.1-r1 and emul-linux-x86-compat-20120520
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
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 462
Location: Switzerland

PostPosted: Tue Aug 28, 2012 9:43 am    Post subject: baselayout-2.1-r1 and emul-linux-x86-compat-20120520 Reply with quote

Hi
On my computer
Code:
Linux dave 2.6.34-gentoo-r1 #1 SMP Mon Jul 26 17:33:29 CEST 2010 i686 Intel(R) Xeon(TM) CPU 3.60GHz GenuineIntel GNU/Linux

i installed 'app-emulation/emul-linux-x86-compat-20120520' because i need to run some ancient 32-bit software which requires libs like libstdc++.so.5 etc.

After installation there are directories /lib32 and /usr/lib32 with various libraries
Code:
dave ~ # ls /lib32 /usr/lib32/
/lib32:
ld-linux.so.1

/usr/lib32/:
libc.so.5  libg++.so.2.7.2  libstdc++-libc6.1-1.so.2  libstdc++-libc6.2-2.so.3  libstdc++.so.2.7.2  libstdc++.so.2.8  libstdc++.so.2.9  libstdc++.so.5  libstdc++.so.5.0.7


Now i just did an 'emerge -e world' after a sync, and now baselayout-2.1-r1 complains:
Code:
>>> Failed to emerge sys-apps/baselayout-2.1-r1, Log file:

>>>  '/var/tmp/portage/sys-apps/baselayout-2.1-r1/temp/build.log'

 * Messages for package sys-apps/baselayout-2.1-r1:

 * You need to merge /lib32 into /lib
 * ERROR: sys-apps/baselayout-2.1-r1 failed (setup phase):
 *   non-empty dir found where there should be none: /lib32
 *

(When i rename /lib23 to /lb32.BAK, baselayout complains the same way about /usr/lib32)

I suppose i could unmerge emul-linux-x86-compat, emerge world, and then reemerge emul-linux-x86-compat,
but this doesn't seem very elegant, and i'd have to do the same thing each time a new baselayout is built.

how can i solve this issue ?

Thank You
Jody
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Aug 28, 2012 10:04 am    Post subject: Reply with quote

emul-linux is a packet of 32bit precompiled libs, designed to use on 64bit systems.
You may need sys-libs/libstdc++-v3 (or the -bin version).
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 462
Location: Switzerland

PostPosted: Tue Aug 28, 2012 10:51 am    Post subject: Reply with quote

Hi gorkypl

What is the difference between and emul-linux-x86-compat and sys-libs/libstdc++-v3?
Will sys-libs/libstdc++-v3 contain all libraries needed to run the old 32 Bit software on my 64bit computer?

Thank YOu
Jody
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Aug 28, 2012 1:01 pm    Post subject: Reply with quote

jody wrote:

What is the difference between and emul-linux-x86-compat and sys-libs/libstdc++-v3?

Code:

app-emulation/emul-linux-x86-compat
Description: 32 bit lib-compat, and also libgcc_s and libstdc++ from gcc 3.3 and 3.4 for non-multilib systems

It is for 64bit systems.

Code:

sys-libs/libstdc++-v3
Description: Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++


Quote:

Will sys-libs/libstdc++-v3 contain all libraries needed to run the old 32 Bit software on my 64bit computer?

Can't say, it depends on the libraries that your software needs ;)
_________________
BTW, TWM FTW!
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