[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:11:10 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 kencu):

 I get the same:
 {{{
 $ otool -f /opt/local/lib/libgcc/libgcc_s.1.dylib
 Fat headers
 fat_magic 0xcafebabe
 nfat_arch 1
 architecture 0
     cputype 7
     cpusubtype 3
     capabilities 0x0
     offset 2048
     size 103928
     align 2^11 (2048)
 }}}

 although the library is not actually FAT, as there is only one
 architecture.
 {{{
 $ file  /opt/local/lib/libgcc/libgcc_s.1.dylib
 /opt/local/lib/libgcc/libgcc_s.1.dylib: Mach-O universal binary with 1
 architecture
 /opt/local/lib/libgcc/libgcc_s.1.dylib (for architecture i386): Mach-O
 dynamically linked shared library i386
 }}}

 It works fine, I have no errors:

 $ /opt/local/bin/python3.9
 Python 3.9.5 (default, May 23 2021, 14:27:46)
 [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 libxml2

-- 
Ticket URL: <https://trac.macports.org/ticket/63164#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list