Nils Breunese wrote:
> Noah Kantrowitz wrote:
>
>> Nils Breunese wrote:
>>> Emmanuel Blot wrote:
>>>
>>>> From http://trac.edgewall.org/wiki/TracInstall#ForSQLite
>>>> To use SQLite 3 DB, you need PySQLite 2.x

That information in the wiki page is a bit misleading... The Pysqlite2 
1.1.x releases have always worked with SQLite. Only Pysqlite version 
1.0.x works with SQLite 2.x and not 3.x.

> (snip)
>
> Is someone on this list running Trac on CentOS 4 using mod_python and 
> the standard CentOS sqlite and python-sqlite packages? Are 
> python-sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though 
> Red Hat and CentOS are shipping these versions together?

So those packages are OK.
What probably happens is that there's some kind of binary 
incompatibility within Apache, another SQLite library is loaded or 
another module (mod_php5.so?) includes the SQLite objects directly, and 
the sqlite-3.3.3 library can't be loaded or doesn't end up being used 
(i.e. GCC's own interpretation of the dll hell).

Make sure only one SQLite version gets used, either by rebuilding php to 
use 3.3.3 (if php is the culprit), or by rebuilding pysqlite so that it 
links with the sqlite library already in use. You'll have to play a bit 
with ldd and nm in order to identify the other libraries involved.

-- Christian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to