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? |
Try running "ldconfig" to update the library list.
|
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. |
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! |
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 |
All times are GMT -5. The time now is 02:47 AM. |