MacPorts Install Error: "The following dependencies failed to build"

Ryan Schmidt ryandesign at macports.org
Sat Aug 11 17:32:57 PDT 2007


On Aug 11, 2007, at 15:48, Vik Rubenfeld wrote:

> I have a newbie question. I am installing MacPorts, and I got error  
> messages saying "The following dependencies failed to build".
>
> How can I correct this? I'm attaching the full output from  
> MacPorts. Thanks very much in advance.

[snip]

> > /usr/bin/ld: Undefined symbols:
> > _iconv_canonicalize

According to

http://thread.gmane.org/gmane.os.opendarwin.darwinports/19035

and

http://trac.macosforge.org/projects/macports/search? 
q=_iconv_canonicalize&ticket=on

you need to uninstall libiconv -- you can use "sudo port -f uninstall  
libiconv". If it says it's not installed, ok. Then, make sure that / 
opt/local/lib contains no lingering remnants of libiconv. You can use  
"ls -l /opt/local/lib/*iconv*"; if it lists anything, remove those  
items. Then you should be able to install libiconv properly. If not,  
let us know.





More information about the macports-users mailing list