Opened 7 years ago

Closed 7 years ago

#52896 closed defect (invalid)

py34-pyicu binds to ICU 54, but ICU 55 is installed

Reported by: fdik (Volker Birk) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: py-pyicu

Description

When installing the port, the error message is clear:

>>> import icu
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/vb/Library/Python/3.4/lib/python/site-packages/icu.py", line 37, in <module>
    from docs import *
  File "/Users/vb/Library/Python/3.4/lib/python/site-packages/docs.py", line 23, in <module>
    from _icu import *
ImportError: dlopen(/Users/vb/Library/Python/3.4/lib/python/site-packages/_icu.so, 2): Library not loaded: /opt/local/lib/libicui18n.54.dylib
  Referenced from: /Users/vb/Library/Python/3.4/lib/python/site-packages/_icu.so
  Reason: image not found

Change History (2)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Port: py-pyicu added; py34-pyicu removed

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Resolution: invalid
Status: newclosed

That shouldn't be the case, since the revision of py-pyicu was increased at the same time that icu was updated to version 55 in changeset:6032184d7ec722e6245c376f2dcbb53bca0399dd/macports-ports

Note that your error is coming from /Users/vb/Library/Python/3.4/lib/python/site-packages/_icu.so. That file is not provided by MacPorts; you have a private copy of pyicu built outside of MacPorts, and it's that private copy of pyicu that has the problem, not the one in MacPorts.

Note: See TracTickets for help on using tickets.