On 7/29/06, Graham_Higgins <[EMAIL PROTECTED]> wrote:

I think you run into the api change described here
http://initd.org/tracker/pysqlite/wiki/PysqliteVersions

Unsure whether this is the right forum to post this and perhaps it's
just the particular convolutions of my OS X Tiger setup but ...

I ran into a nasty sqlite3 dependency clash yesterday. (Context: I
don't usally use the sqlite DBAPI for TG, I usually use either MySQL or
Pg)

I was following Evan Rosson's "migrate" walkthrough which explicitly
uses sqlite: I installed the required pysqlite2.3.2 but it failed to
import:

Symbol not found: _sqlite3_enable_shared_cache

Upgrading to sqlite 3.3.6 fixes the problem but there's a gotcha ...

If you upgrade sqlite to 3.3.6 then either use fink or ensure that you
install into /usr/local. Edit the setup.cfg for pysqlite2.3.2 so that
it uses either /sw or /usr/local as appropriate for sqlite headers and
libs.

Safari (Version 2.0.4 (419.3)) has a dependency on the installed
/usr/lib/libsqlite.3.0.dylib (strings reveals version 3.1.3). Do NOT
replace the existing Apple-installed /usr/lib/libsqlite.3.0.dylib or
Safari will persistently crash when started.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to