Building icu port on macos x tiger

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Jun 26 23:11:37 UTC 2021


>
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/libxml2mod.so,

> 2): Symbol not found: ___divmoddi4
  Referenced from: /opt/local/lib/libicui18n.67.dylib

> resulting from the default build configuration of macports icu on Tiger?



Assuming you built icu with gcc7 on Tiger, I suppose it is now
expecting to find that symbol in libgcc:


https://github.com/atgreen/gcc/blob/master/libgcc/config/spu/divmodti4.c


You would have built icu with a newer gcc compiler to get c++11
support for icu, but you are probably now using an older version of
the gcc compiler like apple-gcc42, and that doesn't have that symbol
in libgcc.


So you have to force a newer gcc (specifically to get a newer libgcc),
and it should be there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210626/a5988aac/attachment.htm>


More information about the macports-users mailing list