[MacPorts] #30226: libintl.8.dylib: mach-o, but wrong architecture (was: Failed to install gmp (MacPorts 1.9.2 OS 10.6.8)

MacPorts noreply at macports.org
Mon Jul 18 13:14:40 PDT 2011


#30226: libintl.8.dylib: mach-o, but wrong architecture
------------------------------+---------------------------------------------
 Reporter:  sglink@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:                    |        Port:  libintl                              
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * keywords:  gmp gcc =>
 * cc: ryandesign@… (added)
  * port:  gmp gcc44 => libintl


Comment:

 The relevant error in the log is:
 {{{
 :info:configure dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
 :info:configure   Referenced from: /opt/local/bin/gawk
 :info:configure   Reason: no suitable image found.  Did find:
 :info:configure         /opt/local/lib/libintl.8.dylib: mach-o, but wrong
 architecture
 }}}
 So your gettext port (which provides the libintl library) is installed for
 a different architecture than your gawk port. Is it possible you migrated
 this MacPorts install from a prior version of Mac OS X, or from a Mac with
 a different processor architecture, to this Mac, without rebuilding all
 ports? See [wiki:Migration].

 At minimum, you will need to rebuild gettext. In order to be able to do
 so, you will need to forcibly uninstall gawk first (and possibly other
 small utility ports like grep or sed).

 {{{
 sudo port -f uninstall gawk
 sudo port clean libintl
 sudo port -n upgrade --force libintl
 }}}

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


More information about the macports-tickets mailing list