Subject: Re: g++ help
To: Joshua Dean Freier <jdf2026@osfmail.isc.rit.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 12/16/1996 17:49:08
On Mon, 16 Dec 1996 20:54:21 -0500 (EST) 
 Joshua Dean Freier <jdf2026@osfmail.isc.rit.edu> wrote:

 > I am getting the following errors when trying to run C++ programs compiled
 > with g++ under 1.2-current.
 > 
 > % ./Main
 > /usr/libexec/ld.so: Undefined symbol "_tgetstr" in Main:/usr/lib/libcurses.so.2.1
 > 
 > Any ideas how to solve this? I have already rebuilt libcurses but I still
 > get the same errors.

If you link w/ libcurses, you also need to link with libtermcap

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939