Running ./configure on Ubuntu 16.04 (also tried Ubuntu 18 with same result), I get this:
checking pkg-config is at least version 0.9.0... yes
checking for LIBNL3... yes
checking for LIBNLG3... yes
checking for READLINE... no
configure: error: libreadline is required
... yet it is already installed:
$ sudo apt install -y libreadline-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libreadline-dev is already the newest version (7.0-3).
0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
Worked around by commenting out the readline check code in configure and then adding -lreadline to LIBS in src/Makefile, as follows:
Running
./configure
on Ubuntu 16.04 (also tried Ubuntu 18 with same result), I get this:... yet it is already installed:
Worked around by commenting out the readline check code in
configure
and then adding-lreadline
toLIBS
insrc/Makefile
, as follows: