shadow 4.0.10 problem
Hi,
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 can anyone help me? Thanks in advance, Julio |
Not sure if this will fix it, but try running ldconfig after installing shadow. Otherwise, check to make sure that the libshadow shared library is there.
|
Hi,
you were right in your advice, my fault was not updating the library cache, so a quick run of ldconfig solved the problem thanks a lot ;) Julio |
All times are GMT -5. The time now is 07:07 AM. |