LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-26-2008, 01:44 PM   #1
phoenix12345
LQ Newbie
 
Registered: Apr 2008
Posts: 15

Rep: Reputation: 1
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?
 
Old 04-26-2008, 01:53 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Try running "ldconfig" to update the library list.
 
Old 04-27-2008, 05:11 AM   #3
phoenix12345
LQ Newbie
 
Registered: Apr 2008
Posts: 15

Original Poster
Rep: Reputation: 1
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.

Last edited by phoenix12345; 04-27-2008 at 05:12 AM.
 
Old 04-27-2008, 05:35 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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!
 
Old 04-29-2008, 05:42 AM   #5
phoenix12345
LQ Newbie
 
Registered: Apr 2008
Posts: 15

Original Poster
Rep: Reputation: 1
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Chapter 5.29. Texinfo-4.8 calling_u3 Linux From Scratch 7 02-05-2007 10:47 AM
texinfo - undefined references during make fitret Linux - Software 1 06-18-2005 03:38 PM
How to generate ps from texinfo abd_bela Debian 1 05-02-2005 07:58 PM
texinfo / texi2pdf question jpbarto Programming 4 11-10-2004 08:09 PM
Error making texinfo-4.0 CragStar Linux From Scratch 2 04-17-2002 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration