View previous topic :: View next topic |
Author |
Message |
Fran Guru
Joined: 29 Feb 2004 Posts: 530 Location: Coruña (Spain)
|
Posted: Sun Feb 24, 2013 11:35 am Post subject: no-multilib and lib->lib64 symlinks |
|
|
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 |
|
|
Fran Guru
Joined: 29 Feb 2004 Posts: 530 Location: Coruña (Spain)
|
|
Back to top |
|
|
wcg Guru
Joined: 06 Jan 2009 Posts: 588
|
Posted: Tue Mar 19, 2013 10:09 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|