Matthew Gillen wrote:

Nils Breunese wrote:
Christian Boos wrote:

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.

I just have stock CentOS 4.4 installs of httpd, python, mod_python,
sqlite and python-sqlite and this box is also running PHP5 from the
CentOSPlus repository (no mod_php5.so, but libphp5.so). Frankly I'm not really prepared to go and rebuild some packages and "play a bit with ldd and nm" to get Trac to work with sqlite. I think I might just see if I
can make the switch to MySQL or some other backend.

Do you have a package installed called "python-sqlite2" ? If so, what's it's
version?

No, I don't. These are the only sqlite packages I have installed:

    # rpm -qa | grep sqlite
    python-sqlite-1.1.7-1.2
    sqlite-3.3.3-1.2

According to yum there's also no python-sqlite2 package available in the repositories.

Nils Breunese.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

Reply via email to