link error : icu56.1, python.3.5.0, pyicu1.9.2 OSX Yosemite.
Created by: maveryKearney
In the interest of getting a different perspective on the compile problem on Windows 10, I moved to OSX. I've had working the combination icu55.1, python 3.5.0, pyicu 1.9.2 on OSX Yosemite. However, when I advanced to icu56.1,
- icu56.1 built and tested w/o error
- Using python 3.5.0 download for MacOSX (generic) from
- built pyicu 1.9.2 without error via python3 setup.py build (i.e. I am trying to be as generic as I can)
- installed without error via python3 setup.py install BUT python3 setup.py test fails
Actually, I encounter the following error, (same as in test) when I just attempt to import icu:
hurst:PyICU-1.9.2 mkearney$ python3 Python 3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import requests import icu Traceback (most recent call last): File "", line 1, in File "/Users/mkearney/bryllyg/opt/icu/56.1/PyICU-1.9.2/icu.py", line 37, in from docs import * File "/Users/mkearney/bryllyg/opt/icu/56.1/PyICU-1.9.2/docs.py", line 23, in from _icu import * ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyICU-1.9.2-py3.5-macosx-10.6-intel.egg/_icu.cpython-35m-darwin.so, 2): Library not loaded: libicui18n.56.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyICU-1.9.2-py3.5-macosx-10.6-intel.egg/_icu.cpython-35m-darwin.so Reason: image not found quit
I actually encountered this when I first tried integrating with my built from source python.3.5.0. So the idea above was to eliminate everything custom at my end except the machine and os I am running on.
With luck, there is still something obviously wrong that I just am unaware of. It sure looks that way.
I am thinking I need to drop back to 55.1 which I did have working and is good enough for me, though I have encountered 56.1 has fixed some bugs that I have worked around.