On Fri, Nov 28, 2014 at 05:55:21PM -0800, Walter Bright via Digitalmars-d wrote: > This is more of an Ubuntu-y issue, but I'm having trouble getting it > to link with ncurses. This used to work: > > cc $(LDFLG) -o med $(OBJ) -l :libncurses.so.5 -l phobos2 -l pthread -l m > > but alas, no longer with the latest Ubuntu. (Linux people keep trying > to get rid of termcap, it's a constant issue.) -lncurses fails, > everything I try fails. > > Any ideas?
Hmm. Did you install libncurses5-dev (or libncursesw5-dev)? If not, try `apt-get install libncurses5-dev` (or libncursesw5-dev as appropriate). Otherwise, try -lncurses5 or -lncursesw5, perhaps? T -- Don't modify spaghetti code unless you can eat the consequences.