[lfs-support] Error systemd

Douglas R. Reno renodr2002 at gmail.com
Wed Dec 7 01:03:44 PST 2016


On Wed, Dec 7, 2016 at 2:37 AM, Frans de Boer <frans at fransdb.nl> wrote:

> On 07-12-16 09:07, Frans de Boer wrote:
>
>> On 06-12-16 23:21, Douglas R. Reno wrote:
>>
>>> Frans de Boer wrote:
>>>
>>>> While building systemd-232, I encounter the next errors during
>>>> installing:
>>>>
>>>> mv: cannot stat '/usr/lib/libnss_myhostname.so.2': No such file or
>>>> directory
>>>> mv: cannot stat '/usr/lib/libnss_mymachines.so.2': No such file or
>>>> directory
>>>> mv: cannot stat '/usr/lib/libnss_resolve.so.2': No such file or
>>>> directory
>>>> root:/sources-lfs# find / -iname libnss_resolve.so.2
>>>> /lib/libnss_resolve.so.2
>>>>
>>>> As one can see, the libraries are not in /usr/lib, rather they are in
>>>> /lib. Has this been overlooked or am I the only one? In which case I
>>>> have to hunt deeper.
>>>>
>>>> Regards, Frans.
>>>>
>>> What version of the book are you building?
>>>
>>> We don't have those commands in the LFS page currently. I haven't
>>> checked BLFS as I wasn't the one who did that page, yet.
>>>
>>> Those are now installed in /lib by default so that the NSS service in
>>> Glibc can pick them up without extra hassle.
>>>
>>> Except for the last two lines, those are not my commands. They seem to
>> come from the make install command aka Makefile.
>>
>> As I stated, it is the development version and implies systemd-232. All
>> according to the book.
>> I know that it is placed into /lib and not /usr/lib. Is something gone
>> wrong during the creation of the LFS specific systemd?
>>
>> I will examine the Makefile(s?) myself.
>>
>> --- Frans
>>
> Oeps, I feel stupid :\, yesterday checked it and today again....only to
> find that the mv command where a leftover of previous systemd build chain.
> It was right under the install command and I did not see that before.
>
> Sorry for my sloppiness.
>
> --- Frans
>
>
Hey,

It happens to all of us at some point. Don't call yourself stupid, I've
done that several times in the past few months. I'm happy that I could at
least point you in the right direction. :-)

Thank you,

 Douglas R. Reno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20161207/1b4fd7c4/attachment.html>


More information about the lfs-support mailing list