On Wed, May 20, 2020, 11:20 Emanuel Pinho <[email protected]> wrote:

> I am trying to install LFS9.1. It is the third time I install a LFS
> version, the first two times I did it, everything ran flawlessly. Indeed,
> my host system was bulilt with LFS7.5. But this time I am having trouble
> with the installation of GCC in the chroot environment. Compilation (make)
> complains about not finding libncursesw.so.5.
>
> I have tried many different things to get around this error, all of them
> with no success.
>
> 1) I have tried copying libncursesw.so.5 from the host into /usr/lib
> and/or /lib.
> 2) I have tried to go ahead with the compiler installed in tools until I
> installed ncurses-6.2. In this package I have followed the notes that
> suggest installation of ncurses version 5 (page 134) and then tried
> installing gcc.
> 3) I have tried to cheat the compiler by linking libncursesw.so.5 ->
> libncurses.so.5.
> 4)I have tried to use the option without-ncurses in configure.
>
> As I said above, none of this tries have solved the problem. I still get
> the error:
>
> Making all in po
> make[4]: Entering directory
> '/sources/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/po'
> msgfmt -o de.mo ../../../../libstdc++-v3/po/de.po
> msgfmt: error while loading shared libraries: libncursesw.so.5: cannot
> open shared object file: No such file or directory
>
> when running make.
>
> I have followed the instructions from the book literally up to this point.
> The only change was using gcc-9.3.0 in tools. The book says it has not been
> tested. Could it be the cause of this error? By the way, I have tried
> installing gcc-9.2.0 and gcc-9.3.0 in chroot. Both fail with the same
> message. I might try recompiling the tools using gcc-9.2.0 again, but as
> this might be a little time consuming, I would like to hear from you your
> suggestions or opinions on this.
>
> I am totally stuck here. Could anyone help me?
> --
> 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


Wait a minute. Someone remind me: aren't the ncurses libraries supposed to
be ABI 6 anyway? Why would GCC be looking for the ABI 5 libraries?

Also, I suggest going back to the ncurses chapter, redoing it, and NOT
doing the optional section. Then try building GCC again.

Flareon Zulu

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

Reply via email to