WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Unable to start sqlite3 (SOLVED)
« on: December 17, 2010, 10:43:30 AM »
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, 02: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, 10:51:18 AM »
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, 10:58:23 AM »
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, 11:04:17 AM »
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, 11:23:11 AM »
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, 02:34:48 PM by JohnJS »

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: Unable to start sqlite3 (SOLVED)
« Reply #5 on: December 17, 2010, 09:42:13 PM »
Added ncurses to dep