public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sqlite3 not being built with libreadline
@ 2016-02-27  8:47 Kenneth Smith
  2016-02-27 10:51 ` Jan Nijtmans
  0 siblings, 1 reply; 5+ messages in thread
From: Kenneth Smith @ 2016-02-27  8:47 UTC (permalink / raw)
  To: cygwin

Hello,

sqlite3 version 3.11.0-1 is not linked to libreadline:

$ ldd /usr/bin/sqlite3
        ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x772b0000)
        KERNEL32.DLL => /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL (0x741a0000)
        KERNELBASE.dll => /cygdrive/c/WINDOWS/SYSTEM32/KERNELBASE.dll
(0x75990000)

Neither was 3.10.

A google search came up with a similar occurrence in 2013, so
presumably it is meant to have readline support...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sqlite3 not being built with libreadline
  2016-02-27  8:47 sqlite3 not being built with libreadline Kenneth Smith
@ 2016-02-27 10:51 ` Jan Nijtmans
  2016-02-27 17:19   ` Kenneth Smith
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Nijtmans @ 2016-02-27 10:51 UTC (permalink / raw)
  To: cygwin

2016-02-27 9:47 GMT+01:00 Kenneth Smith:
> sqlite3 version 3.11.0-1 is not linked to libreadline:
>
> $ ldd /usr/bin/sqlite3
>         ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x772b0000)
>         KERNEL32.DLL => /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL (0x741a0000)
>         KERNELBASE.dll => /cygdrive/c/WINDOWS/SYSTEM32/KERNELBASE.dll
> (0x75990000)
>
> Neither was 3.10.
>
> A google search came up with a similar occurrence in 2013, so
> presumably it is meant to have readline support...


This probably dates back to this commit:
    <http://www.sqlite.org/src/info/ec27ab0eb3a1ee08>
SQLite links with the linenoise library by default now
instead of libreadline.

Is there any functionality in libreadline which is not
in linenoise? If so, that would be reason to deviate
from the default build options.

Regards,
    Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sqlite3 not being built with libreadline
  2016-02-27 10:51 ` Jan Nijtmans
@ 2016-02-27 17:19   ` Kenneth Smith
  2016-02-27 19:15     ` Eliot Moss
  0 siblings, 1 reply; 5+ messages in thread
From: Kenneth Smith @ 2016-02-27 17:19 UTC (permalink / raw)
  To: cygwin

linenoise seems to ignore .inputrc, so yeah, I lost all those settings.


On Sat, Feb 27, 2016 at 2:51 AM, Jan Nijtmans <jan.nijtmans@gmail.com> wrote:
> 2016-02-27 9:47 GMT+01:00 Kenneth Smith:
>> sqlite3 version 3.11.0-1 is not linked to libreadline:
>>
>> $ ldd /usr/bin/sqlite3
>>         ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x772b0000)
>>         KERNEL32.DLL => /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL (0x741a0000)
>>         KERNELBASE.dll => /cygdrive/c/WINDOWS/SYSTEM32/KERNELBASE.dll
>> (0x75990000)
>>
>> Neither was 3.10.
>>
>> A google search came up with a similar occurrence in 2013, so
>> presumably it is meant to have readline support...
>
>
> This probably dates back to this commit:
>     <http://www.sqlite.org/src/info/ec27ab0eb3a1ee08>
> SQLite links with the linenoise library by default now
> instead of libreadline.
>
> Is there any functionality in libreadline which is not
> in linenoise? If so, that would be reason to deviate
> from the default build options.
>
> Regards,
>     Jan Nijtmans
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sqlite3 not being built with libreadline
  2016-02-27 17:19   ` Kenneth Smith
@ 2016-02-27 19:15     ` Eliot Moss
  2016-02-28 10:47       ` Jan Nijtmans
  0 siblings, 1 reply; 5+ messages in thread
From: Eliot Moss @ 2016-02-27 19:15 UTC (permalink / raw)
  To: cygwin

On 2/27/2016 12:19 PM, Kenneth Smith wrote:
> linenoise seems to ignore .inputrc, so yeah, I lost all those settings.

linenoise is not configurable while readline is.  I doubt the added size
is much of a big deal with something as large as sqlite is already.  The
linenoise project itself suggests using readline if it's available and
linenoise if readline is not.

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sqlite3 not being built with libreadline
  2016-02-27 19:15     ` Eliot Moss
@ 2016-02-28 10:47       ` Jan Nijtmans
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Nijtmans @ 2016-02-28 10:47 UTC (permalink / raw)
  To: cygwin

2016-02-27 20:15 GMT+01:00 Eliot Moss:
> linenoise is not configurable while readline is.  I doubt the added size
> is much of a big deal with something as large as sqlite is already.  The
> linenoise project itself suggests using readline if it's available and
> linenoise if readline is not.

This is a convincing argument for me. I'll provide a new build (3.11.0-2)
next week.

Regards,
     Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-28 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-27  8:47 sqlite3 not being built with libreadline Kenneth Smith
2016-02-27 10:51 ` Jan Nijtmans
2016-02-27 17:19   ` Kenneth Smith
2016-02-27 19:15     ` Eliot Moss
2016-02-28 10:47       ` Jan Nijtmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).