[Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes

skip at pobox.com skip at pobox.com
Mon Oct 23 05:24:07 CEST 2006


    Barry> What do you get when you check _sqlite3?

    $ otool -L ./build/lib.mac-10.3-ppc-2.6/_sqlite3.so
    ./build/lib.macosx-10.3-ppc-2.6/_sqlite3.so:
            /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
            /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 93.0.0)
            /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7)

Which I apparently installed on Oct 15 but seem to have forgotten...
According to the source in my directory, it's sqlite 3.3.8.  On my powerbook
it's linked against /usr/lib/libsqlite3.0.dylib...

Make clean, run the failing test pair, now it's fine.  Otool shows linkage
against /usr/lib/libsqlite3.0.dylib...:

    $ otool -L ./build/lib.macosx-10.3-ppc-2.6/_sqlite3.so
    ./build/lib.macosx-10.3-ppc-2.6/_sqlite3.so:
            /usr/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
            /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 93.0.0)
            /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7)

According to /usr/include/sqlite3.h, what's installed by Apple is 3.1.3.
Aside from the possibility that I somehow compiled against
/usr/include/sqlite3.h and linked against /usr/local/lib/libsqlite3.0.dylib,
what difference should 3.3.8 vs. 3.1.3 have made?

Skip



More information about the Python-Dev mailing list