upgrade error: "/usr/bin/libtool: internal link edit command failed "

James Berry jberry at macports.org
Sun Oct 8 17:01:00 PDT 2006


On Oct 8, 2006, at 12:26 PM, Joseph C. Slater wrote:

>
> On Oct 8, 2006, at 2:21 PM, Ryan Schmidt wrote:
>
>>
>> On Oct 8, 2006, at 11:26, Joseph C. Slater wrote:
>>
>>> ld: Undefined symbols:
>>> _rl_completion_matches
>>> _rl_filename_completion_function
>>> _rl_username_completion_function
>>
>> Sounds like a readline problem. Do you have another copy of  
>> readline in /usr/local installed by some other process, or by you?  
>> Move it out of the way, then upgrade MacPorts, then put it back,  
>> if you need it, or get rid of it altogether if you don't because  
>> it's only going to cause problems again down the line.
>
> Stefani Gerber pointed me to the same solution elsewhere and it  
> worked. I don't understand where the other version of readline is/ 
> was from, but then again, I have no idea what it is (don't access  
> it directly, do have a minimal idea), so it's all magic to me.  
> Thanks for the fix/s,

Yes, the easy answer, by the way, is to do the following:

	- Rename /user/local to /usr/localx
	- Do your port selfupdate (successfully, we hope)
	- Rename /usr/localx to /usr/local

James



More information about the macports-users mailing list