Skip to content

Symbol not found: _libiconv #2

Description

@ozak

@ofajardo thanks for working on this!
I have been trying to make it work in a conda environment with pyton3.5 on two separate OSX systems and I always get the same error. I also tried installing in the homebrew version of python with similar results. I tried the simple pip install, also from Github, compiling from scratch...nothing. Any ideas what it could be? I do see libiconv in the conda list.

import pyreadstat
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-95ad4ef9013f> in <module>()
----> 1 import pyreadstat

~/Anaconda3/envs/GeoPython3env/lib/python3.5/site-packages/pyreadstat/__init__.py in <module>()
----> 1 from .pyreadstat import read_sas7bdat, read_xport, read_dta, read_sav, read_por, read_sas7bcat
      2 from .pyreadstat import set_value_labels, set_catalog_to_sas
      3 from ._readstat_parser import ReadstatError, metadata_container

ImportError: dlopen(/Users/user/Anaconda3/envs/GeoPython3env/lib/python3.5/site-packages/pyreadstat/pyreadstat.cpython-35m-darwin.so, 2): Symbol not found: _libiconv
  Referenced from: /Users/user/Anaconda3/envs/GeoPython3env/lib/python3.5/site-packages/pyreadstat/pyreadstat.cpython-35m-darwin.so
  Expected in: flat namespace
 in /Users/user/Anaconda3/envs/GeoPython3env/lib/python3.5/site-packages/pyreadstat/pyreadstat.cpython-35m-darwin.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions