ncurses breaks gawk trying to build py27-wxpython

Ryan Schmidt ryandesign at macports.org
Tue Mar 20 16:37:59 PDT 2012


On Mar 20, 2012, at 12:39, Dave Curtis wrote:

> david-curtiss-macbook:wxtab dave$ gawk
> dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
>  Referenced from: /opt/local/bin/gawk
>  Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
> Trace/BPT trap

The short answer is that you need to rebuild libiconv +universal, or follow the Migration instructions if applicable. This has come up so often on the list and in the issue tracker since Snow Leopard's release three years ago that it's time for me to write a ProblemHotlist entry for it. I'll reply here again when I've written it.


> david-curtiss-macbook:wxtab dave$ sudo port select libiconv at 1.14_0
> Warning: Unable to get active selected version: The specified group 'libiconv at 1.14_0' does not exist.
> Error: The 'list' command failed: The specified group 'libiconv at 1.14_0' does not exist.
> 
> { WTF?  Am I seeing things? }

The "port select" command does not do what you think it does. The command you're looking for is "port activate".



More information about the macports-users mailing list