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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been playing with my newly-created LFS system, and in all my three 'successful' builds I've encountered the same problem at the time of compiling shadow-4.0.10...
the problem is, well... If I use the --enable-shared parameter in the configure script, when I'm going to execure pwconv and grpconv to convert the password format of users and groups to shadow's SVR4 format, I get the following error message:
pwconv: error while loading shared libraries: libshadow.so.0: cannot open shared object file: No such file or directory grpconv: error while loading shared libraries: libshadow.so.0: cannot open shared object file: No such file or directory
I've come up with a solution, and that's not building shadow libraries in a shared way but a static way, it works but as the LFS book shows the configure line as --enable-shared, I think it's not a good solution...
can anyone help me identifying the possible source of the error? I've repeated the compilation process up to 23 times, and the result doesn't vary a thing in all my attempts, I thought the problem could be with my binutils/glibc/gcc installation, but the test suites doesn't give me any compilation error, so, frankly, I don't know what could I be doing wrong...
the syntax is followed strictly, so I can guarantee you it's not a typo, at least not if the book syntax is right (I'm using SVN version, directly read from web and the errata section doesn't state anything about this section, that's... 6.54. Shadow-4.0.10