[MacPorts] #34744: glib2: libxml2.2.dylib, file was built for i386 which is not the architecture being linked (ppc)

MacPorts noreply at macports.org
Tue Jul 17 03:00:19 PDT 2012


#34744: glib2: libxml2.2.dylib, file was built for i386 which is not the
architecture being linked (ppc)
---------------------------------------+------------------------------------
  Reporter:  macnwhite@…               |       Owner:  ryandesign@…           
      Type:  defect                    |      Status:  closed                 
  Priority:  Normal                    |   Milestone:                         
 Component:  ports                     |     Version:  2.1.1                  
Resolution:  worksforme                |    Keywords:  tiger                  
      Port:  glib2                     |  
---------------------------------------+------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Done in r95596.

 Daniel, that leaves us at a loss to explain the build failure you
 encountered. However, the workaround is to either clean glib2 and build it
 non-universal, or if you really want to build it universal, then install
 libxml2 universal first.

 When upgrading from such an old MacPorts version you're bound to run into
 other problems as well. It may save you time to uninstall all ports, then
 reinstall the ports you actually want. This will ensure you don't have any
 remaining ports installed that were originally built with that old
 MacPorts version.

 In the future, keep your MacPorts installation up to date to minimize
 problems. Run "sudo port selfupdate" and "sudo port upgrade outdated"
 regularly—at least yearly, hopefully much more frequently. However, note
 that Tiger is a very old OS X version and is not well supported anymore.
 Consider upgrading to a newer version of OS X if possible. According to
 your log, you are on an Intel Mac, and all Intel Macs can be upgraded to
 at least Snow Leopard.

-- 
Ticket URL: <https://trac.macports.org/ticket/34744#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list