Re: [pysqlite] Dynamic loading of sqlite....

Douglas Mayle <[email protected]> Wed, 13 May 2009 10:32:21 -0400
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
My problem is that I'm trying to use spatialite.  Extra compiles are  =

fine for me, but not for my users.  I have a workaround.  MacOS  =

respects DYLD_LIBRARY_PATH, so I set that in os.environ, and then do a  =

subprocess.Popen to load a new process.  It has been suggested to me  =

that an older version of pysqlite would allow me to use the system  =

sqlite and just load the necessary extension...

Douglas Mayle

On May 13, 2009, at 4:06 AM, Roger Binns wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gerhard H=E4ring wrote:
>> 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.
>
> Also note that MacOS pathologically goes out of its way to use the
> system supplied SQLite at runtime, appearing to ignore all your  =

> attempts
> to use a different one.  You will find it easiest to use the
> amalgamation which avoids all those issues.
>
> Roger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkoKf44ACgkQmOOfHg372QT9tgCfWUNEcBdb4K8uiE1tpAkl+Cqx
> RAwAni3bAOcIC+pe2edUg+gO2dgpBphk
> =3Dr8AY
> -----END PGP SIGNATURE-----
> _______________________________________________
> list-pysqlite mailing list
> list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org
> http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite