Chris Staub wrote:
Diogo Franco wrote:
When building Texinfo for LFS 6.1.1, I get the following error message
right after the program makedoc, but the libncurses.so.5 library was
installed right before it and it is on ldconfig search path. LDD can't
find the library with the makeinfo program, but can find it for the
ncurses demo programs.
The error lines are marked in red.
[EMAIL PROTECTED]:/lfs/texinfo-4.8$ make
make all-recursive
make[1]: Entering directory `/media/hda4/texinfo-4.8'
Making all in intl
make[2]: Entering directory `/media/hda4/texinfo-4.8/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/hda4/texinfo-4.8/intl'
Making all in m4
make[2]: Entering directory `/media/hda4/texinfo-4.8/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/hda4/texinfo-4.8/m4'
Making all in lib
make[2]: Entering directory `/media/hda4/texinfo-4.8/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/hda4/texinfo-4.8/lib'
Making all in info
make[2]: Entering directory `/media/hda4/texinfo-4.8/info'
rm -f doc.c key.c funs.h
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c
./indices.c ./nodemenu.c ./footnotes.c ./variables.c
..//info/makedoc: error while loading shared libraries:
libncurses.so.5: cannot open shared object file: No such file or
directory
make[2]: *** [funs.h] Error 127
make[2]: Leaving directory `/media/hda4/texinfo-4.8/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/hda4/texinfo-4.8'
make: *** [all] Error 2
[EMAIL PROTECTED]:/lfs/texinfo-4.8$ ldd info/makedoc
linux-gate.so.1 => (0xffffe000)
libncurses.so.5 => not found
libc.so.6 => /lfs/tools/lib/libc.so.6 (0xb7e0a000)
/tools/lib/ld-linux.so.2 (0xb7f26000)
[EMAIL PROTECTED]:/lfs//texinfo-4.8$ sudo ldconfig -p | grep ncurses
libncursesw.so.5 (libc6) => /lib/libncursesw.so.5
libncurses.so.5 (libc6) => /tools/lib/libncurses.so.5
libncurses.so.5 (libc6) => /usr/lib/libncurses.so.5
libncurses.so.5 (libc6) => /lib/libncurses.so.5
libncurses.so (libc6) => /tools/lib/libncurses.so
libncurses.so (libc6) => /usr/lib/libncurses.so
[EMAIL PROTECTED]:/lfs/texinfo-4.8$ ldd ../ncurses-5.5/test/ncurses
linux-gate.so.1 => (0xffffe000)
libform.so.5 => /lfs/ncurses-5.5/lib/libform.so.5
(0xb7eef000)
libmenu.so.5 => /lfs/ncurses-5.5/lib/libmenu.so.5
(0xb7ee8000)
libpanel.so.5 => /lfs/ncurses-5.5/lib/libpanel.so.5
(0xb7ee4000)
libncurses.so.5 => /lfs/ncurses-5.5/lib/libncurses.so.5
(0xb7ea2000)
libc.so.6 => /lfs/tools/lib/libc.so.6 (0xb7d87000)
/tools/lib/ld-linux.so.2 (0xb7efc000)
Also, why are you using so many different directories? I see
/lfs/ncurses, /lfs/texinfo, /media/hda4, /tools...all should be using is
$LFS/sources to build from, and /tools (linked to $LFS/tools) to install
to. When you are using all these different dirs it makes it very
difficult to help you.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page