Concerning Fedora:
Fedora's Python 2.7 is built not to allow loading SQLite extensions.
Pysqlite2 is also deprecated, as Python 2.5 integrated a module called
sqlite3.
I created a ticket, asking to allow loading extensions. Please look
there for details.
https://bugzilla.redhat.com/show_bug.cgi?id=814905
> bye Sandro
>
It would be lovely if packagers would just enable it...
Loki
> --
> You received this message because you are subscribed to the Google Groups "SpatiaLite Users" group.
> To post to this group, send email to spatiali...@googlegroups.com.
> To unsubscribe from this group, send email to spatialite-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spatialite-users?hl=en.
>
The entire reason I wrote pyspatialite in the first place is that many
distros package libsqlite/pysqlite with load_extensions disabled - as
of last year, this included Ubuntu 10.04 LTS.It would be lovely if packagers would just enable it...
good new: pyspatialite will be soon supported on Debian: Ubuntu GIS
packages simply are clones of the ones available on Debian
I personally feel that pyspatialite is a nice connector, effectively
"filling the hole" and allowing to bypass the many inconsistencies
existing between different platforms.
Anyway a potential design flaw exists: AFAIK the pyspatialite's own
build script implicitly attempts to statically link both libsqlite and
libspatialite (libspatialite-amalgamation).
This is absolutely fine if you intend to use Python only for
self-standing
apps: but unhappily many users use Python mainly as an engine for QGIS
own plugins.
But in this complex scenario a real risk exists to end up using *three*
separate sqlite/spatialite libraries, maybe of different versions (one
linked to the the QGIS core itself, another linked to GDAL/OGR, and a
third one linked to pyspatialite).
As first hand field experience tells, this one is a sure recipe for
disaster.
Any possible effort aimed to always ensure linking the "system-wide"
dynamic
libraries (shared objects, DLLs or whatever else) is strongly
suggested,
both on Linux and Windows.
bye Sandro
--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.