OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Kondou on March 21, 2006, 11:56:20 am

Title: Help! Python+sqlite Can't Compile?
Post by: Kondou on March 21, 2006, 11:56:20 am
i use:

python_2.4.1_armv5tel.ipk
python-compile_2.4.1_armv5tel.ipk
python-shell_2.4.1_armv5tel.ipk
sqlite_3.2.1_armv5tel.ipk

can't work get a error:

import sqlite
("file /user/lib/python2.4/site-packages/sqlite/__init__.py") line1, in ?
import _sqlite
ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory

way? how to set is?


Q2:

python-compile_2.4.1_armv5tel.ipk & python-compiler_2.4.1_armv5tel.ipk Has any difference
Title: Help! Python+sqlite Can't Compile?
Post by: krakatau on March 21, 2006, 12:34:38 pm
you should make symlink (ln -s) libsqlite3.so.0 to existing libsqlite3* library. Everything should work after it.

Quote
i use:

python_2.4.1_armv5tel.ipk
python-compile_2.4.1_armv5tel.ipk
python-shell_2.4.1_armv5tel.ipk
sqlite_3.2.1_armv5tel.ipk

can't work get a error:

import sqlite
("file /user/lib/python2.4/site-packages/sqlite/__init__.py") line1, in ?
import _sqlite
ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory

way? how to set is?


Q2:

python-compile_2.4.1_armv5tel.ipk & python-compiler_2.4.1_armv5tel.ipk Has any difference
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119614\"][{POST_SNAPBACK}][/a][/div]
Title: Help! Python+sqlite Can't Compile?
Post by: nberger on January 07, 2007, 11:10:05 am
Hi Kondou,

Could you tell me where you found the sqlite bindings for python ?? I've been looking for them for the past few days but they don't seem to be there anymore (they used to be in the unstable feed but that seems gone now...)

Thanks,
- Nicolas
Title: Help! Python+sqlite Can't Compile?
Post by: 2or0 on January 07, 2007, 11:48:20 am
Quote
Hi Kondou,

Could you tell me where you found the sqlite bindings for python ?? I've been looking for them for the past few days but they don't seem to be there anymore (they used to be in the unstable feed but that seems gone now...)

Thanks,
- Nicolas
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150348\")

I found it here.
[a href=\"http://zaurus.spy.org/feeds/cacko/pdaXrom/unstable/python-sqlite_1.1.3_armv5tel.ipk]http://zaurus.spy.org/feeds/cacko/pdaXrom/....3_armv5tel.ipk[/url]

-yonggun
Title: Help! Python+sqlite Can't Compile?
Post by: nberger on January 07, 2007, 01:44:38 pm
Quote
Quote
Hi Kondou,

Could you tell me where you found the sqlite bindings for python ?? I've been looking for them for the past few days but they don't seem to be there anymore (they used to be in the unstable feed but that seems gone now...)

Thanks,
- Nicolas
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150348\")

I found it here.
[a href=\"http://zaurus.spy.org/feeds/cacko/pdaXrom/unstable/python-sqlite_1.1.3_armv5tel.ipk]http://zaurus.spy.org/feeds/cacko/pdaXrom/....3_armv5tel.ipk[/url]

-yonggun
[div align=\"right\"][a href=\"index.php?act=findpost&pid=150350\"][{POST_SNAPBACK}][/a][/div]

Super - Thanks a lot for the pointer!! For reference, to get it running in beta1 on an 860 I had to

- Create links /usr/lib/python2.4/site-config/sqlite and _sqlite.so pointing to the same objets in /usr/lib/python2.3 (in beta1 python is 2.4 by default, but the python-sqlite ipk probably assumed it was 2.3... it still works, though!)

- create a soft link /usr/lib/libsqlite3.so.0 pointing to libsqlite3.so

with these tweaks it seems to work with the standard python and sqlite3 packages for beta1...

Thanks again,
- Nicolas