Jump to content


Photo

Sqlite3 client


  • Please log in to reply
12 replies to this topic

#1 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 26 July 2008 - 16:20

Can you send me a compiled version of sqlite3 client for shell scripting?
Otherwise can you send me corect "./configure" string for build sqlite myself (pthread etc..)?

Thanks in advice.
--
Cya,
Francesco
--
Ciao,
Oge

Re: Sqlite3 client #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 July 2008 - 16:30

if you have an openembedded box; just do the following to install it:
ipkg update
ipkg install sqlite3

Re: Sqlite3 client #3 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 26 July 2008 - 18:13

No, I have DM7000 with Iolite :-( other suggestion?
--
Ciao,
Francesco.

Re: Sqlite3 client #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 July 2008 - 18:54

this is the sqlite3 executable from the ipk, I hope it works on the 7000 (it might complain about stripped symbols in glibc)

Attached Files

  • Attached File  sqlite3   32.64KB   0 downloads


Re: Sqlite3 client #5 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 27 July 2008 - 10:36

Thank you very much for your file!

... but it's don't work on 7000 :-/ -sigh-
( /var/bin/sqlite3: 1: Syntax error: "(" unexpected )
--
Thank you!
Francesco.
--
Ciao,
Oge

Re: Sqlite3 client #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 July 2008 - 12:02

looks like you used an ascii transfer to the box?
Normally you don't get this type of error (even if the architecture would be wrong, it would still be recognised as valid ELF)

Re: Sqlite3 client #7 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 27 July 2008 - 16:59

:-P yes I have used binary transfert.

This is a log:
root@dm7000 ~ # md5sum /var/bin/sqlite3
7e141b90493893e7b96cd4f33f2ba07f /var/bin/sqlite3
root@dm7000 ~ # sqlite3 /mnt/usb/epg.db
/var/bin/sqlite3: 1: Syntax error: "(" unexpected

Can I build sqlite myself?
How can I configure library for dreambox?
--
Ciao,
Francesco.

Re: Sqlite3 client #8 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 July 2008 - 17:12

how about this one...

It might depend on a few libraries (readline for instance)

Building sqlite3 in oe is quite simple, but I don't know about the CDK.

Attached Files

  • Attached File  _14   39.8KB   0 downloads


Re: Sqlite3 client #9 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 27 July 2008 - 17:16

It might depend on a few libraries (readline for instance)


Yes, I need of "libreadline.so.4" too, can you send me? :-)

Thanks!
--
Ciao,
Francesco

Re: Sqlite3 client #10 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 July 2008 - 17:24

here it is...

Attached Files



Re: Sqlite3 client #11 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 27 July 2008 - 17:58

here it is...


Thanks, this version of libreadline search for GLIBC_2.3.4 in /lib/libc.so.6 but I have GLIBC_2.3.3.

If I upgrade to Jade can I solve that problem?
--
Francesco

Log:
root@dm7000 ~ # sqlite3
sqlite3: /lib/libc.so.6: version `GLIBC_2.3.4' not found (required by /var/lib/libreadline.so.4)


Re: Sqlite3 client #12 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 27 July 2008 - 18:19

no, I think not. It's an OE vs CDK issue.

Re: Sqlite3 client #13 Ogekuri

  • Member
  • 13 posts

0
Neutral

Posted 27 July 2008 - 18:50

no, I think not. It's an OE vs CDK issue.


Ah, ok. It's not a problem; I'll try again to build sqlite with cdk on next weekend.

Thank you very much for your support!
--
Ciao!
Francesco.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users