Re: [pysqlite] Dynamic loading of sqlite....
Gerhard Häring <[email protected]> Wed, 13 May 2009 09:22:37 +0200
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Douglas Mayle wrote: > Hello everybody, > I'm trying to debug a problem with loading a custom sqlite. The > traceback I'm getting is: > > ImportError: dlopen(/Users/douglas/Projects/almanacpylons/lib/ > python2.5/lib-dynload/_sqlite3.so, 2): Library not loaded: /usr/lib/ > libsqlite3.0.dylib > Referenced from: /Users/douglas/Projects/almanacpylons/lib/ > python2.5/lib-dynload/_sqlite3.so > Reason: Incompatible library version: _sqlite3.so requires version > 9.0.0 or later, but libsqlite3.0.dylib provides version 3.0.0 > > How is libsqlite loaded? Is there someplace in the source I can look > to debug this? I have no idea where these version numbers are coming from. Try rebuilding pysqlite against your custom SQLite by setting the variables include_dirs and library_dirs in setup.cfg. HTH Gerhard