Opened 8 years ago
Last modified 8 years ago
#51727 new defect
py-spatialite @3.0.1-alpha-0_1 libiconv symbol not found: _locale_charset
Reported by: | dmarteau (David Marteau) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-spatialite |
Description
Loading python module pyspatialite.dbapi2 fail with the following error:
Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/Users/david/.virtualenvs/lizdev/lib/python2.7/site-packages/pyspatialite/dbapi2.py", line 27, in <module> from pyspatialite._spatialite import * ImportError: dlopen(/Users/david/.virtualenvs/lizdev/lib/python2.7/site-packages/pyspatialite/_spatialite.so, 2): Symbol not found: _locale_charset Referenced from: /Users/david/.virtualenvs/lizdev/lib/python2.7/site-packages/pyspatialite/_spatialite.so Expected in: flat namespace in /Users/david/.virtualenvs/lizdev/lib/python2.7/site-packages/pyspatialite/_spatialite.so
I found that libiconv @1.14_0 does not export _locale_charset which seems required by the pyspatialite binding.
os: Darwin Kernel Version 15.5.0
Change History (2)
comment:1 Changed 8 years ago by dmarteau (David Marteau)
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | pyspatialite libiconv removed |
---|
Note: See
TracTickets for help on using
tickets.
It seems that libiconv does not export locale_charset anymore and and client should link with libcharset instead.