Can't update MacPorts

Ryan Schmidt ryandesign at
Thu May 13 22:05:24 PDT 2010

On May 13, 2010, at 23:40, Joel Bain wrote:

> I hope this is a small problem. I mistakenly installed MacPorts before installing Xcode Tools.

The order of installation doesn't terribly matter, as long as you've got them both now.

> I tried to update MacPorts and this is what I got:-
> sudo port -d selfupdate
> Password:
> dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found.  Did find:
>     /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
>     while executing
> "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
>     ("package ifneeded Pextlib 1.0" script)
>     invoked from within
> "package require Pextlib 1.0"
>     (file "/opt/local/bin/port" line 40)

Maybe you installed the wrong MacPorts? Make sure you got the correct MacPorts disk image for your version of Mac OS X.

More information about the macports-users mailing list