Subject: Re: bug#36170: configure fails on FreeBSD

From: Roger Mason <[email-masked]>
Date: Wed, 12 Jun 2019 12:41:35 -0230

Hello Again,

Roger Mason <[email-masked]> writes:

> config.log says:
>
> configure:54907: cc -std=gnu11 -o conftest -I/usr/local/include -g -O2
> -I/usr/local/include conftest.c -lreadline -lncurses -lcrypt -lm >&5
>
> /usr/bin/ld: cannot find -lreadline
>
> So the error message is a bit misleading.

Adding LDFLAGS="-L/usr/local/lib" to the configure invocation fixed it.

Cheers,
Roger