LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Texinfo make problems (https://www.linuxquestions.org/questions/linux-from-scratch-13/texinfo-make-problems-638014/)

phoenix12345 04-26-2008 12:44 PM

Texinfo make problems
 
gcc -g -O2 -o makedoc makedoc.o ../lib/libtxi.a -lncurses
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: libncursesw.so.5: cannot open shared object file: No such file or directory
make[2]: *** [funs.h] Error 127
make[2]: Leaving directory `/media/hda5/sources/texinfo-4.9/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/hda5/sources/texinfo-4.9'
make: *** [all] Error 2

I successfuly compiled Ncurses, so i don't know why i'm getting this error. I also tried to link libncursesw.so.5 from the host Live CD, but that doesn't resolve the problem.

Does anyone have any suggestions?

jschiwal 04-26-2008 12:53 PM

Try running "ldconfig" to update the library list.

phoenix12345 04-27-2008 04:11 AM

Well just creating a link(in the Texinfo source dir) and make clean did the job.

But now i'm having some problems starting bash(the one on the temporary sistem), because the library(same library problem:libncursesw.so.5) isn't created when compiling Ncurses. Should i recompile Ncurses?

I wanted to ignore this, but i fugured it would create more problems later on.

jschiwal 04-27-2008 04:35 AM

Does the library file actually exist, including the version?

If there was a problem creating ncurses, then you might want to do it over. It is commonly used, especially for administrative programs when you don't have the X server running, or are ssh'ing into the box. Pay particular attention to the library base you use. I.E. /usr/lib/ or /lib/. Also be mindful if you are building a bi-arch 32/64 bit distro. You may need to produce two versions for lib/ and lib64/. Sometimes "./configure --help" can provide some useful information on options you weren't aware of.

Good Luck!

phoenix12345 04-29-2008 04:42 AM

I'm using the LFS Live CD, and no the library file doesn't exist. I fixed that using
Code:

link -vs (/usr)/lib/libncursesw.so.5 $LFS/tools/lib
and that fixed the problem(at least for texinfo), i'll recompile Ncurses.


All times are GMT -5. The time now is 02:47 AM.