[MacPorts] #22493: Incompatible library version

MacPorts noreply at macports.org
Thu Nov 12 07:46:11 PST 2009


#22493: Incompatible library version
-------------------------------------------+--------------------------------
 Reporter:  vash_the__typhoon@…            |       Owner:  ryandesign@…           
     Type:  defect                         |      Status:  new                    
 Priority:  Normal                         |   Milestone:                         
Component:  ports                          |     Version:  1.8.1                  
 Keywords:                                 |        Port:  libiconv               
-------------------------------------------+--------------------------------

Comment(by ryandesign@…):

 Also, you have the coreutils port installed with the +with_default_names
 variant. This port provides the utilities tr, uname, dircolors and others,
 which are now failing. The reason they are failing is that they can't find
 a compatible iconv library. (It can't find the version 8 library provided
 by MacPorts, and is only finding the version 7 library provided by Mac OS
 X.) You just upgraded libiconv, so one explanation is that your coreutils
 and libiconv are built for different architectures. This might happen if
 you had ports installed on Leopard (which builds for the architecture
 i386), upgraded to Snow Leopard (which builds for the architecture
 x86_64), and then tried to continue using your ports. What version of Mac
 OS X are you using, and did you recently upgrade? Or did you recently
 migrate your data (including your MacPorts install) from a different
 computer to this one? In either case, check the [wiki:Migration Migration]
 page for the steps you need to take to uninstall and reinstall all ports.

 Installing coreutils (or any of the ports that offer it) with the
 +with_default_names variant can cause problems which is why we plan to
 remove that variant from all ports. See #20748. So you may want to install
 coreutils without that variant -- if indeed you need to install that port
 at all.

 One simple step you can take right now to get at least your ~/.profile
 working again is to simply uninstall (or deactivate) the coreutils port.
 This will remove the currently-broken tr, uname, dircolors, etc. scripts
 from your PATH so that Mac OS X's functional ones are used instead.

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


More information about the macports-tickets mailing list