WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Unable to start sqlite3 (SOLVED)  (Read 2722 times)

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Unable to start sqlite3 (SOLVED)
« on: December 17, 2010, 01:43:30 PM »
Using tc 3.3.
Have been unable to start sqlite3. Tried from aterm and 'run program'
Also tried moving sqlite3 to 'on demand' without any success.
Had no problem using sqlite3 with other linux systems.
Any suggestions?
Thanks.
« Last Edit: December 17, 2010, 05:35:21 PM by JohnJS »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Unable to start sqlite3
« Reply #1 on: December 17, 2010, 01:51:18 PM »
The package is sqlite3-bin.
Sqlite3 is just libraries.

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: Unable to start sqlite3
« Reply #2 on: December 17, 2010, 01:58:23 PM »
Hi Gerald_clark,
Downloaded sqlite3-bin
This is what I get:
tc@box:~$ sqlite3 test
sqlite3: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Unable to start sqlite3
« Reply #3 on: December 17, 2010, 02:04:17 PM »
load ncurses extension, a simple missing dependency issue

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: Unable to start sqlite3 (SOLVED)
« Reply #4 on: December 17, 2010, 02:23:11 PM »
Thanks Arslan S
Starts okay now.
Edit:
Does not create file name test (sqlite3 test) which previous versions did.
Running just sqlite3 am able to create a table.

After creating table and importing a csv file it will only show all, for example:
select * from Info; shows everything but:
select * from Info where Payee like "Me"; does nothing.
Edit:
csv was incorrectly imported, my error. All is well now.
Thanks for assistance.
« Last Edit: December 17, 2010, 05:34:48 PM by JohnJS »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Unable to start sqlite3 (SOLVED)
« Reply #5 on: December 18, 2010, 12:42:13 AM »
Added ncurses to dep