[MacPorts] #51727: py-spatialite @3.0.1-alpha-0_1 libiconv symbol not found: _locale_charset
#51727: py-spatialite @3.0.1-alpha-0_1 libiconv symbol not found: _locale_charset -----------------------------------+-------------------------------- Reporter: dhmarteau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: pyspatialite libiconv | Port: py-spatialite -----------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/51727> MacPorts <https://www.macports.org/> Ports system for OS X
#51727: py-spatialite @3.0.1-alpha-0_1 libiconv symbol not found: _locale_charset ----------------------------+----------------------------------- Reporter: dhmarteau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: pyspatialite libiconv Port: py-spatialite | ----------------------------+----------------------------------- Comment (by dhmarteau@…): It seems that libiconv does not export locale_charset anymore and and client should link with libcharset instead. -- Ticket URL: <https://trac.macports.org/ticket/51727#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51727: py-spatialite @3.0.1-alpha-0_1 libiconv symbol not found: _locale_charset ----------------------------+-------------------------------- Reporter: dhmarteau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-spatialite | ----------------------------+-------------------------------- Changes (by mf2k@…): * keywords: pyspatialite libiconv => -- Ticket URL: <https://trac.macports.org/ticket/51727#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts