selfupdate fails on link

andlabs pietro10 at
Mon Jun 18 14:33:20 PDT 2007

Ryan Schmidt-24 wrote:
> It sounds to me like you have a rogue copy of readline, perhaps in
> /usr/local/lib. If so, you need to at least move that out of the way until
> you install MacPorts, but MacPorts would probably be happier if you would
> delete it entirely. Why do you have it? What depends on it? Perhaps you
> can install that software with MacPorts, too.

It came with my Xcode Tools for Mac. Anyways, the MacPorts one fixed the
problem, thanks.

Here are the patch instructions for Xcode users - please add them if
$ cd /usr/local/lib
$ sudo mv libreadline.a libreadline.a_old
$ sudo ln /opt/local/lib/libreadline.a
$ cd /usr/lib
$ sudo mv libreadline.dylib libreadline.dylib_old
$ sudo ln /opt/local/lib/libreadline.dylib
View this message in context:
Sent from the MacPorts - Users mailing list archive at

More information about the macports-users mailing list