Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-26 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
--+
 Reporter:  kenial|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:  spatialite| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * needs_docs:  1 => 0
 * has_patch:  0 => 1
 * stage:  Unreviewed => Accepted


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7eb2106441a700df70e3ecac77a4e061%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.7
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  0|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by kenial):

 * needs_docs:  0 => 1
 * stage:  Someday/Maybe => Unreviewed


Comment:

 Posted a GitHub pull request.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.73021a31f1b1a83a9c0ad74b5b9ec6df%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.7
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Someday/Maybe
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by kenial):

 * stage:  Unreviewed => Someday/Maybe


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.acd2b5ad49fb7c9c3f9707ff83d67f96%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.7
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by kenial):

 Okay, I'll get to it soon. Thanks!

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.3402400e2334edccb0f65472584acfb8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.7
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 Some updates to the Mac OS X instructions would be welcome. We can likely
 remove the older out-of-date information.

 Yes, contributing to the docs is the same process as making code changes.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.f1bc0d6d670136e4b8750df52c004eca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  1.7
Component:  Documentation|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by kenial):

 * stage:  Accepted => Unreviewed


Comment:

 Agreed. But I have no idea where I begin to work on - for this is my first
 contributing on django - , may I ask you few questions?

 - I think this document url is right position to start, you know, it's
 sort of outdated. Is it better to leave contents for older version
 (KyngChaos packages and its SpatiaLite version is 2.3.1, current
 SpatiaLite version supported by Homebrew is 4.2.0), or get rid of them?
 What do you think?
 https://docs.djangoproject.com/en/1.7/ref/contrib/gis/install/spatialite
 /#spatialite-macosx

 - Is it same way updating document with posting codes with pull requests?
 (specifically, commiting to path /docs on Django repo)

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.d8f22210a552879191f526d65d929b14%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-25 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
--+
 Reporter:  kenial|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:  spatialite| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * type:  Bug => Cleanup/optimization
 * has_patch:  1 => 0
 * component:  Database layer (models, ORM) => Documentation
 * stage:  Unreviewed => Accepted


Comment:

 I think it'd probably be better to include a note in the documentation
 about this (suggest using the setting) rather than hardcoding a workaround
 in Django for what appears to be a non-standard library name.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.23e270248496a18e4c62c80dc53f7dd3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-23 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.7
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Description changed by kenial:

Old description:

> Installing libspatialite package with Homebrew on OS X and using
> django.contrib.gis.db.backends.spatialite as a database backend, I met
> this exception:
>
> {{{
> Traceback (most recent call last):
>   File "manage.py", line 14, in 
> execute_from_command_line(sys.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 385, in
> execute_from_command_line
> utility.execute()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 377, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 288, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 338, in execute
> output = self.handle(*args, **options)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/commands/migrate.py", line 63, in handle
> executor = MigrationExecutor(connection,
> self.migration_progress_callback)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/executor.py", line 17, in __init__
> self.loader = MigrationLoader(self.connection)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 48, in __init__
> self.build_graph()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 179, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 59, in
> applied_migrations
> self.ensure_schema()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 49, in ensure_schema
> if self.Migration._meta.db_table in
> self.connection.introspection.get_table_list(self.connection.cursor()):
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 165, in cursor
> cursor = self.make_debug_cursor(self._cursor())
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 138, in _cursor
> self.ensure_connection()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 133, in ensure_connection
> self.connect()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 122, in connect
> self.connection = self.get_new_connection(conn_params)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 65, in
> get_new_connection
> six.reraise(ImproperlyConfigured, ImproperlyConfigured(new_msg),
> sys.exc_info()[2])
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 60, in
> get_new_connection
> cur.execute("SELECT load_extension(%s)", (self.spatialite_lib,))
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/sqlite3/base.py", line 485, in execute
> return Database.Cursor.execute(self, query, params)
> django.core.exceptions.ImproperlyConfigured: Unable to load the
> SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"
> because: dlsym(0x7f8bf32f8000, sqlite3_spatialite_init): symbol not found
> }}}
>
> On Homebrew's SpatiaLite 4.2.0 package what I've got, it provides both
> libspatialite.7.dylib and mod_spatialite.7.dylib. For its proper working,
> sqlite3 should load mod_spatialite instead of libspatialite, but it seems
> not detecting right package with ctypes.util.find_library('spatialite').
> In case using find_library('mod_spatialite'), it does work.
>
> I think it might be a problem of entry p

Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-23 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.7
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Description changed by kenial:

Old description:

> Installing libspatialite package with Homebrew on OS X and using
> django.contrib.gis.db.backends.spatialite as a database backend, I met
> this exception:
>
> {{{
> Traceback (most recent call last):
>   File "manage.py", line 14, in 
> execute_from_command_line(sys.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 385, in
> execute_from_command_line
> utility.execute()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 377, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 288, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 338, in execute
> output = self.handle(*args, **options)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/commands/migrate.py", line 63, in handle
> executor = MigrationExecutor(connection,
> self.migration_progress_callback)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/executor.py", line 17, in __init__
> self.loader = MigrationLoader(self.connection)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 48, in __init__
> self.build_graph()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 179, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 59, in
> applied_migrations
> self.ensure_schema()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 49, in ensure_schema
> if self.Migration._meta.db_table in
> self.connection.introspection.get_table_list(self.connection.cursor()):
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 165, in cursor
> cursor = self.make_debug_cursor(self._cursor())
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 138, in _cursor
> self.ensure_connection()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 133, in ensure_connection
> self.connect()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 122, in connect
> self.connection = self.get_new_connection(conn_params)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 65, in
> get_new_connection
> six.reraise(ImproperlyConfigured, ImproperlyConfigured(new_msg),
> sys.exc_info()[2])
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 60, in
> get_new_connection
> cur.execute("SELECT load_extension(%s)", (self.spatialite_lib,))
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/sqlite3/base.py", line 485, in execute
> return Database.Cursor.execute(self, query, params)
> django.core.exceptions.ImproperlyConfigured: Unable to load the
> SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"
> because: dlsym(0x7f8bf32f8000, sqlite3_spatialite_init): symbol not found
> }}}
>
> On Homebrew's SpatiaLite 4.2.0 package what I've got, it provides both
> libspatialite.7.dylib and mod_spatialite.7.dylib. For its proper working,
> sqlite3 should load mod_spatialite instead of libspatialite, but it seems
> not detecting right package with ctypes.util.find_library('spatialite').
> In case using find_library('mod_spatialite'), it does work.
>
> I think it might be a problem of entry p

Re: [Django] #23901: Unable to load the SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"

2014-11-23 Thread Django
#23901: Unable to load the SpatiaLite library extension
"/usr/local/lib/libspatialite.dylib"
-+-
 Reporter:  kenial   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  1.7
  (models, ORM)  |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  spatialite   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by kenial):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> Installing libspatialite package with Homebrew on OS X and using
> django.contrib.gis.db.backends.spatialite as a database backend, I met
> this exception:
>
> {{{
> Traceback (most recent call last):
>   File "manage.py", line 14, in 
> execute_from_command_line(sys.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 385, in
> execute_from_command_line
> utility.execute()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/__init__.py", line 377, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 288, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/base.py", line 338, in execute
> output = self.handle(*args, **options)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/core/management/commands/migrate.py", line 63, in handle
> executor = MigrationExecutor(connection,
> self.migration_progress_callback)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/executor.py", line 17, in __init__
> self.loader = MigrationLoader(self.connection)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 48, in __init__
> self.build_graph()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/loader.py", line 179, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 59, in
> applied_migrations
> self.ensure_schema()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/migrations/recorder.py", line 49, in ensure_schema
> if self.Migration._meta.db_table in
> self.connection.introspection.get_table_list(self.connection.cursor()):
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 165, in cursor
> cursor = self.make_debug_cursor(self._cursor())
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 138, in _cursor
> self.ensure_connection()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 133, in ensure_connection
> self.connect()
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/__init__.py", line 122, in connect
> self.connection = self.get_new_connection(conn_params)
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 65, in
> get_new_connection
> six.reraise(ImproperlyConfigured, ImproperlyConfigured(new_msg),
> sys.exc_info()[2])
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/contrib/gis/db/backends/spatialite/base.py", line 60, in
> get_new_connection
> cur.execute("SELECT load_extension(%s)", (self.spatialite_lib,))
>   File "/Users/kenial/.virtualenvs/fp/lib/python2.7/site-
> packages/django/db/backends/sqlite3/base.py", line 485, in execute
> return Database.Cursor.execute(self, query, params)
> django.core.exceptions.ImproperlyConfigured: Unable to load the
> SpatiaLite library extension "/usr/local/lib/libspatialite.dylib"
> because: dlsym(0x7f8bf32f8000, sqlite3_spatialite_init): symbol not found
> }}}
>
> On Homebrew's SpatiaLite 4.2.0 package what I've got, it provides both
> libspatialite.7.dylib and mod_spatialite.7.dylib. For its proper working,
> sqlite3 should load mod_spatialite instead of libspatialite, but it seems
> not detecting right package with ctypes.util.find_library('spatialite').
> In case using find_library('mod_spati