Thank you! That was it. I had even forgotten when/why/how I got that copy of /bin/gawk, but removing it solved it.
--- On Sat, 11/8/08, Bryan Blackburn <[EMAIL PROTECTED]> wrote: > From: Bryan Blackburn <[EMAIL PROTECTED]> > Subject: Re: can't install gettext > To: [email protected] > Date: Saturday, November 8, 2008, 12:48 AM > On Fri, Nov 07, 2008 at 09:04:16PM -0800, Andrew said: > > I recently installed MacPorts 1.6.0 via the package > install and was able to do a port selfupdate. > > > > > > However, when I tried to install gettext, I get the > following error: > > > > sudo port -d -f install gettext > > > > (... a bunch of messages available upon request...) > > > > ---> Building ncursesw with target all > [...] > > gawk -f MKterm.h.awk ./Caps > term.h > > dyld: Library not loaded: > /opt/local/lib/libintl.8.dylib > > Referenced from: /bin/gawk > > Reason: image not found > > Do you know where /bin/gawk came from? Since it links to > something in > /opt/local, seems like it may have been copied from a > MacPorts install into > /bin, but MacPorts itself will not do anything in /usr or > /bin like that. > I'd suggest removing /bin/gawk, cleaning ncursesw (sudo > port clean --work > ncursesw) then trying again. > > Also, make sure you don't have other bits in /bin, > /sbin, /usr/bin, or > /usr/sbin that may have been copied from other places. > > Bryan > > > [...] > > > > Thanks, > > Andrew > > > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
