Port upgrade problems

Ryan Schmidt ryandesign at macports.org
Wed Aug 17 13:42:17 PDT 2011

On Aug 17, 2011, at 15:37, David Perlman wrote:

> :info:configure dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
> :info:configure   Referenced from: /opt/local/bin/gawk
> :info:configure   Reason: no suitable image found.  Did find:
> :info:configure 	/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture

> That file /opt/local/lib/libintl.8.dylib  is present, and readable by everyone.

But it's built for the wrong architecture.

> I googled that filename and found references having to do with old installs of MacPorts, linking to a Migration guide.  I followed the steps there.  Reverting macports.conf to macports.conf.default went OK.  Then I ran into trouble on the next step:
> Trinley:macports omgoleus$ sudo port -f uninstall --follow-dependents installed
> --->  Deactivating 1Dmean @1.0_0
> --->  Uninstalling 1Dmean @1.0_0
> Error: port uninstall failed: error deleting "/opt/local/var/macports/software/1Dmean/1.0_0": directory not empty

Delete the directory and try again.

> I had MacPorts installed a long time ago, and just reinstalled it from precompiled binary, then ran sudo port selfupdate and sudo port upgrade outdated.  To get that to work at all, I had to edit /opt/local/etc/macports/sources.conf to remove some local ports directories that someone else had set up a long time ago.
> Currently that file only says 
> rsync://rsync.macports.org/release/ports/ [default]
> which I think is right?

We currently recommend (check your sources.conf.default in the same directory):

rsync://rsync.macports.org/release/tarballs/ports.tar [default]

More information about the macports-users mailing list