Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No you don't need two versions of every package. You only need 32-bit versions of those packages that you need 32-bit support. For example, if you want to use Acrobat Reader, which is only available 32-bit, then you'll need 32-bit gtk+. Since you also probably want to use other 64-bit apps that use gtk+, you will also need 64-bit gtk+. On the other hand, you might want to monitor the sensors on your mobo. In this case, you only need the 64-bit version of lm_sensors.
No you don't need two versions of every package. You only need 32-bit versions of those packages that you need 32-bit support. For example, if you want to use Acrobat Reader, which is only available 32-bit, then you'll need 32-bit gtk+. Since you also probably want to use other 64-bit apps that use gtk+, you will also need 64-bit gtk+. On the other hand, you might want to monitor the sensors on your mobo. In this case, you only need the 64-bit version of lm_sensors.
I have already looked at those (thanks btw) so 32bit apps can't talk to 64bit apps I am guessing, okay wait then, I have another question, if this is essentially a 64bit with 32bit support then why have lib the 64 bit lib dir and lib32 the 32bit lib dir, the way it is done in the book looks like 32bit is still the primary and 64bit looks like it's been tacked on
The FHS requires 32-bit libraries be installed in lib and 64-bit libraries be installed in lib64 on x86_64 machines. Even if you never install or plan to install a 32-bit library, the 64-bit libraries go in lib64. For the CLFS x86_64 multilib instructions the book is FHS compliant. For the "pure" 64-bit x86_64, the CLFS book is not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.