bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] libreadline.so.7: undefined symbol: UP


From: Jeffrey Walton
Subject: Re: [Bug-readline] libreadline.so.7: undefined symbol: UP
Date: Mon, 23 Oct 2017 15:39:33 -0400

On Mon, Oct 23, 2017 at 12:56 PM, Jeffrey Walton <address@hidden> wrote:
> On Mon, Oct 23, 2017 at 11:32 AM, Chet Ramey <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]