[Tutor] Python2.3.4, PySqlite2 and Solaris
dyoo at hkn.eecs.berkeley.edu
Fri Sep 2 10:07:18 CEST 2005
> Python 2.3.4 (#1, Aug 23 2004, 13:59:34)
> [GCC 3.2.3] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pysqlite2 import dbapi2 as sqlite
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/home/rbnewby/lib/python/pysqlite2/dbapi2.py", line 32, in ?
> from pysqlite2._sqlite import *
> ImportError: ld.so.1: python: fatal: relocation error: file
> /home/NaN/lib/python/pysqlite2/_sqlite.so: symbol sqlite3_libversion:
> referenced symbol not found
This means that Python can physically find a 'sqlite' library, but that
what it had found does not appear to be compatible with the version that
the pysqlite module expects. Is it possible that you have an older
version of sqlite?
You may also want to send your question to the pysqlite mailing list. We
on Python-Tutor probably aren't that familiar with pysqlite installation.
You may be able to get better help from the pysqlite folks:
More information about the Tutor