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

Ryan Schmidt ryandesign at macports.org
Mon Aug 13 18:18:26 PDT 2007


On Aug 13, 2007, at 12:24, Vik Rubenfeld wrote:

> On Aug 11, 2007, at 5:32 PM, Ryan Schmidt wrote:
>
>> 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.
>
> I have two other Apaches installed (although both have been stopped  
> while I work on installing the MacPorts amp stack).  If I " cd /opt/ 
> local/bin" and run "sudo port -f uninstall libiconv", will that  
> remove anything the other Apaches need to have in order to work, or  
> will it only remove the libiconv used by MacPorts?

"sudo port -f uninstall libiconv" will only remove the files listed  
by the command "port contents libiconv". This will only be the files  
originally installed by "sudo port install libiconv". MacPorts is  
supposed to be a self-contained system, using only other software  
from within MacPorts, not affecting any software outside of MacPorts  
(though this is not always the case).




More information about the macports-users mailing list