visit1985 / mdp

A command-line based markdown presentation tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collect2: error: ld returned 1 exit status

edouard-lopez opened this issue · comments

Error

$ make
make  -C src
make[1]: Entering directory '/home/elopez/apps/mdp/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/elopez/apps/mdp/src'
cc src/url.o src/cstring.o src/viewer.o src/markdown.o src/parser.o src/main.o src/cstack.o -lncursesw -s -o mdp
/usr/bin/ld: cannot find -lncursesw
collect2: error: ld returned 1 exit status
Makefile:52: recipe for target 'mdp' failed
make: *** [mdp] Error 1

Env

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

On Ubunut 15.10 you need to install libncursesw5``libncursesw5-dev:

sudo apt-get install  libncursesw5 libncursesw5-dev