LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-07-2015, 04:42 PM   #1
sr_ls_boy
Member
 
Registered: Apr 2015
Posts: 105

Rep: Reputation: Disabled
no symlink to lib32 in CLFS


I have been following the CLFS book. I noticed that
there is no lib32 folder. There isn't one in / nor in /usr.
CLFS is written where 32-bit is in "lib" and 64-bit is
placed in lib64. This contrasts with every 64-bit distro I
have ever used. Usually, "lib" is a symlink to "lib64".

I just don't see how this is going to work. How can I get
used to this? More importantly, what am I going to do about
my 64-bit kernel modules? They keep getting dumped in
/lib/modules, a 32-bit folder by CLFS convention. Can I
get the kernel source tree to place them in /lib64? Will
the kernel load them from that location?
 
Old 04-07-2015, 09:15 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
In multilib build 32 bit libraries are placed in /lib and /usr/lib. 64bit libraries are placed in /lib64 and /usr/lib64.

For kernel modules they are usually placed in /lib/modules no matter what their arch it is. It just doesn't matters.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RH 6 std install does /lib64 but no /lib32 sord Red Hat 1 02-05-2012 12:04 PM
Question How to get stat() of symlink and not of target of symlink ? ronbarak Programming 3 11-08-2010 12:14 PM
wassup with lib32-libjpeg6 from AUR? Alexvader Arch 5 09-10-2010 10:39 PM
lib32 Compat in Arch 64bit Alexvader Arch 1 03-30-2010 07:31 AM
chown clfs:clfs mishap Louis_Carole Linux From Scratch 4 03-21-2007 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration