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.
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