Re: [conda] Conda sqlite3 executable lacks readline support?

0 views
Skip to first unread message

Nehal J Wani

unread,
Apr 8, 2017, 5:54:41 AM4/8/17
to Skip Montanaro, conda - Public
Hi,

I have a custom build of sqlite on my channel with readline support. Feel free to give it a spin!

(root) [root@d171b0a16926 ~]# conda install -yc nehaljwani sqlite                                                                                                                                                  
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /conda:

The following NEW packages will be INSTALLED:

    ncurses: 5.9-10       

The following packages will be UPDATED:

    conda:   4.3.11-py27_0 --> 4.3.16-py27_0           

The following packages will be SUPERCEDED by a higher-priority channel:

    sqlite:  3.13.0-0      --> 3.13.0-0      nehaljwani

ncurses-5.9-10 100% |###################################################################################################################################################################| Time: 0:00:00   1.85 MB/s
sqlite-3.13.0- 100% |###################################################################################################################################################################| Time: 0:00:07 445.98 kB/s
conda-4.3.16-p 100% |###################################################################################################################################################################| Time: 0:00:00   4.72 MB/s
(root) [root@d171b0a16926 ~]# ldd $(which sqlite3)
        linux-vdso.so.1 =>  (0x00007ffd20786000)
        libncursesw.so.5 => /conda/bin/../lib/libncursesw.so.5 (0x00007f35be604000)
        libreadline.so.6 => /conda/bin/../lib/libreadline.so.6 (0x00007f35be3c2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f35be1bb000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f35bdf9e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f35bdc09000)
        /lib64/ld-linux-x86-64.so.2 (0x000055bc13800000)
(root) [root@d171b0a16926 ~]# 


On Fri, Apr 7, 2017 at 8:40 PM, Skip Montanaro <skip.mo...@gmail.com> wrote:
Not sure if this is a bug or a feature, but it appears that the sqlite3 command which comes as part of the sqlite Conda package was built without readline support. (This is on Linux.) When I hit Ctrl-P all I get is "^P" as opposed to the previous command in the history. ldd doesn't show libreadline as a dependency. /usr/bin/sqlite3 does have readline support (both empirically determined, and using ldd), so I have a workaround. Am I perhaps missing some environment variable or command line arg setting?

Thx,

Skip Montanaro

--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+un...@continuum.io.
To post to this group, send email to co...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/41486a7a-2e48-4949-995e-6093954ebfdf%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.



--
Nehal J Wani
Reply all
Reply to author
Forward
0 new messages