On Mon, Oct 23, 2017 at 12:56 PM, Jeffrey Walton <[email protected]> wrote:
> On Mon, Oct 23, 2017 at 11:32 AM, Chet Ramey <[email protected]> wrote:
>> On 10/22/17 10:57 PM, Jeffrey Walton wrote:
>>> I keep hitting this issue when building programs like cURL and Git
>>> against Readline 7:
>>>
>>>  ...
>> You can either link with ncurses, as bash does, or link readline with the
>> ncurses library when the shared library is constructed, as some vendors do.
>
> ...
> We also needed a small hack for readline on Fedora 26 after unpacking.
> We found that symbol in libtinfow.so (and its archive). The configure
> program did not honor our request to add -ltinfow to LIBS:
>
> if [[ -f "$INSTALL_LIBDIR/libtinfow.so" ]]; then
>     for mfile in $(find "$PWD" -name 'Makefile'); do
>         sed -i 's|SHLIB_LIBS =|SHLIB_LIBS = -ltinfow|g' "$mfile"
>     done
> fi

Maybe the Readline folks can consider two changes. First, maybe some
of what Fedora is doing at
http://pkgs.fedoraproject.org/cgit/rpms/readline.git/tree/readline-7.0-shlib.patch.
Second, a configuration option to add the additional library so we
don't have to hack the makefile.

Jeff

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to