Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no-multilib and lib->lib64 symlinks
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
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 522
Location: Coruña (Spain)

PostPosted: Sun Feb 24, 2013 11:35 am    Post subject: no-multilib and lib->lib64 symlinks Reply with quote

I've recently moved from multilib to no-multilib + 32bit chroot. I'd like to get rid of the /lib and /usr/lib symlinks to the respective lib64 dirs, so I can symlink them to /mnt/gentoo32/lib and /mnt/gentoo32/usr/lib when I need to run 32 bit programs. Is is possible to have a no-multilib profile and just /lib64 and /usr/lib64 directories, with no symlinks? Right now an equery belongs /lib shows dhcpcd, eudev and kmod...
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 522
Location: Coruña (Spain)

PostPosted: Fri Mar 01, 2013 7:33 am    Post subject: Reply with quote

Nope. After reading https://bugs.gentoo.org/show_bug.cgi?id=424423 or https://bugs.gentoo.org/show_bug.cgi?id=455326 I realize that it's impossible to have a 64bit system without lib. To whoever thought it was a good idea to use /lib for that (so in 32 bit systems it will be mixed the libraries, and in 64bit systems it will be separated): good job :roll:
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Tue Mar 19, 2013 10:09 pm    Post subject: Reply with quote

Quote:
To whoever thought it was a good idea to use /lib for that


/lib/, /usr/lib/, and /usr/local/lib/ are the original locations, from before multilib
systems existed. {,/usr,/usr/local}{/lib32/, /lib64/} are 32-/64-bit multilib inventions.
If you compiled a pure 64-bit system, you would have no need for
/lib32 or /lib64, you could simply use /lib/, /usr/lib/, and /usr/local/lib/, which
would comply with the Unix Filesystem Hierarchy Standard (Linux has
been using /usr/local/ from early in its development, but I do not know
whether /usr/local/ was actually part of the Unix FHS.) Using /lib64 and
/usr/lib64 on 64-bit no-multilib systems is only an administrative shortcut
for simplified package maintenance and installation.

If you search the www for "invented multilib", you might find out whose
idea /lib32 and /lib64 was originally. (RHEL? Only a guess.)

A bit of history: http://homepage.cs.uri.edu/~thenry/resources/unix_art/ch17s02.html
_________________
TIA
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