Subject: Re: Missing Curses function in 1.2
To: None <crosbie@nortel.ca>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: port-hp300
Date: 01/07/1997 10:11:29
> I just compiled dxpc 3.4 (an X protocol Compressor) to use between my
> work machine and my home NetBSD system.  When I compile under NetBSD,
> it compiles fine, but when I run it I get the following:

> undefined symbol "_tgetstr" in dxpc:/usr/lib/libcurses.so.2.1

> I tried explicitly including the libraries in the link (libcurses and
> libtermcap) and it made no difference.

Without seeing the command line you tried, I can't tell whether this is
it - but you have to not only give both -ltermcap and -lcurses, but I
think you have to give -ltermcap _after_ -lcurses.

The fact that it links at all without -ltermcap is, IMO, a bug in the
NetBSD shared library implementation....

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B