[MacPorts] #65763: ld64-274 - universal variant -- Linker Failed - Undefined symbols for architecture i386 & /opt/local/lib/libxar.dylib, file was built for unsupported file format

MacPorts noreply at macports.org
Mon Sep 19 22:25:42 UTC 2022


#65763: ld64-274 - universal variant --  Linker Failed - Undefined symbols for
architecture i386 & /opt/local/lib/libxar.dylib, file was built for
unsupported file format
-----------------------+----------------------
  Reporter:  RobK88    |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:  lion
      Port:  ld64-274  |
-----------------------+----------------------

Comment (by RobK88):

 Ryan,

 Sorry for the delay.  I just realized that you had posted some questions.

 Here are the answers to your questions:


 {{{
 bash-3.2$ lipo -info /opt/local/lib/libxar.1.dylib
 Non-fat file: /opt/local/lib/libxar.1.dylib is architecture: x86_64
 bash-3.2$
 bash-3.2$ file /opt/local/lib/libxar.1.dylib
 /opt/local/lib/libxar.1.dylib: Mach-O 64-bit dynamically linked shared
 library x86_64
 bash-3.2$
 bash-3.2$ port -v installed xar
 The following ports are currently installed:
   xar @1.8.0.487.100.1_2 (active) requested_variants='' platform='darwin
 11' archs='x86_64' date='2022-09-17T13:21:52-0400'
 bash-3.2$
 }}}

 It looks like only the 64 bit version of `xar` is installed on my Mac.

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


More information about the macports-tickets mailing list