On 10/15/19 7:09 PM, Trent wrote:
I am rebuilding again, and this time on a SSD drive connected to a USB
adapter. Going much faster.
I came up on this.
in Chapter 6.46
http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter06/kmod.html
Here is what is returned from "make":
make --no-print-directory all-recursive
Making all in .
CCLD libkmod/libkmod.la <http://libkmod.la>
CCLD tools/kmod
/usr/bin/ld: /usr/lib/liblzma.so <http://liblzma.so>: file not
recognized: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1448: libkmod/libkmod.la <http://libkmod.la>]
Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: /usr/lib/liblzma.so <http://liblzma.so>: file not
recognized: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1662: tools/kmod] Error 1
make[1]: *** [Makefile:2167: all-recursive] Error 1
make: *** [Makefile:1219: all] Error 2
I see it is related to Xz from the previous section 6.45. I have rerun
that section 3-4 times now. I have also removed /usr/bin/ld:
/usr/lib/liblzma.so <http://liblzma.so> and rebuilt section 6.45 again.
http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter06/xz.html
Not sure of what to make of this, and not seeing anything online about it.
Thanks!
Trent
Okay, you all can ignore this.
I guess I needed to take the message literally. Somehow, the liblzma.so
<http://liblzma.so> file was turned into a directory filled with files.
I did the directory style of removal, and reran the command "ln -svf
../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so" again,
and now it is a file as it should be.
All is well now.
Trent
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style