[MacPorts] #63164: py-libxml2 icu cctools - FAT libraries built on i386 Mac OS X Tiger fail to run
MacPorts
noreply at macports.org
Fri Jul 9 07:53:12 UTC 2021
#63164: py-libxml2 icu cctools - FAT libraries built on i386 Mac OS X Tiger fail to
run
-------------------------+--------------------
Reporter: bradleyCPA | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
-------------------------+--------------------
Comment (by bradleyCPA):
Is /opt/local/lib/libgcc/libgcc_s.1.dylib really being used on your system
when testing? Ktrace on mine shows that the
/opt/local/lib/libgcc/libgcc_s.1.dylib library fails to load in mmap as
shown way up above. If the needed symbols are resolving elsewhere then
that failure won't be fatal. You asked about different python versions,
2.7 and 3.8 also fail similarly:
{{{
barf at tiger:/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/icu$
python2.7
Python 2.7.18 (default, Jun 13 2021, 23:29:59)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42
5666.3_16+boot on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> barf = ctypes.cdll.LoadLibrary("/opt/local/lib/libicui18n.67.1.dylib")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 444, in LoadLibrary
return self._dlltype(name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 366, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/opt/local/lib/libicui18n.67.1.dylib, 6): Symbol not
found: ___divmoddi4
Referenced from: /opt/local/lib/libicui18n.67.1.dylib
Expected in: /usr/lib/libgcc_s.1.dylib
>>> import libxml2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/libxml2.py", line 1, in <module>
import libxml2mod
ImportError:
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.1.dylib
Expected in: /usr/lib/libgcc_s.1.dylib
>>> ^D
barf at tiger:/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/icu$
python3.8
Python 3.8.10 (default, Jun 16 2021, 06:34:01)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42
5666.3_16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> barf = ctypes.cdll.LoadLibrary("/opt/local/lib/libicui18n.67.1.dylib")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py",
line 451, in LoadLibrary
return self._dlltype(name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py",
line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/opt/local/lib/libicui18n.67.1.dylib, 6): Symbol not
found: ___divmoddi4
Referenced from: /opt/local/lib/libicui18n.67.1.dylib
Expected in: /usr/lib/libgcc_s.1.dylib
>>> import libxml2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'libxml2'
>>> ^D
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63164#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list