[MacPorts] #30604: pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

MacPorts noreply at macports.org
Thu Aug 4 23:06:27 PDT 2011


#30604: pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides
version 7.0.0
------------------------------+---------------------------------------------
 Reporter:  shabanak@…        |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.1                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------

Comment(by ryandesign@…):

 Replying to [comment:6 shabanak@…]:
 > By the way - all worked fine before using the commands "sudo port
 selfupdate" and then "sudo port upgrade outdated".

 Is it possible you originally installed MacPorts and these ports when
 running an earlier version of Mac OS X, and have since then upgraded to
 Snow Leopard? That's the most common reason for these kinds of
 architecture mismatches. If so, you would need to uninstall and reinstall
 all ports. See [wiki:Migration].

 > I only want to start a little program called gdash which always worked.
 Now I get the error message
 >
 {{{
 > dyld: Library not loaded: /opt/local/lib/libgio-2.0.0.dylib
 >   Referenced from: /usr/local/bin/gdash
 >   Reason: no suitable image found.  Did find:
 >       /opt/local/lib/libgio-2.0.0.dylib: mach-o, but wrong architecture
 > Trace/BPT trap
 > logout
 }}}

 This shows again that the architecture for which gdash was built is not
 the same as the architecture for which libgio was built. Since gdash is in
 /usr/local I assume you built it yourself, so you could rebuild it.

 We don't support users installing things manually in /usr/local because
 those things can interfere with ports installed with MacPorts. I don't see
 any reason to believe that's happening here, but it's something to watch
 out for. I don't see a port for gdash in MacPorts but perhaps we could
 create one if you tell us the program's web page.

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


More information about the macports-tickets mailing list