LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2005, 03:12 PM   #1
fitret
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9.0
Posts: 8

Rep: Reputation: 0
texinfo - undefined references during make


I've been trying to install makeinfo, part of the texinfo project and I'm having issues. ./configure goes fine, but when i do make, it does not go so well. While make is running, I see errors like "undefined reference to tgetstr/tputs" and at the end, I get the error:

Code:
collect2: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory `/home/fitret/texinfo-4.8/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fitret/texinfo-4.8/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fitret/texinfo-4.8'
make: *** [all] Error 2
I googled tgetstr and found out that it was part of libcurses.a. I'm running Ubuntu, and as such, only have NCurses, which doesn't include libcurses.a apparantely. A quick google found a fix for this. Running the command "ln -s libncurses.a /usr/lib/libcurses.a" supposedly will cure this issue, and while it did indeed stick a libcurses.a in my /usr/lib/ directory, I'm still getting the same errors.

Oh, and before anyone asks, no, according to my package manager there is no texinfo package. Anyone know how to fix this? Thanks for the help!
 
Old 06-18-2005, 03:38 PM   #2
oraclecao
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
RE

I had the similar problem when I install teTex, and I try to

apt-get install libncurses5-dev

then the problem got fixed.
 
  


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
texinfo / undefined reference to `tgetflag' sharky Linux From Scratch 4 10-26-2010 07:33 PM
Undefined references with static libraries Nightfox Programming 2 10-28-2005 07:43 PM
Qt 3.3.3 undefined references when linking Ch. 7 tutorial QtCoder Programming 3 11-07-2004 12:59 PM
Undefined references when linkin against Debian packaged libs stackoverflow32 Programming 3 08-08-2004 03:09 PM
why compiler gives undefined references on static members??? Hano Programming 8 06-26-2002 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 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
Open Source Consulting | Domain Registration