#27004: ncursesw @5.7_0 build failure due to gawk not loading libiconv ------------------------------------+--------------------------------------- Reporter: ossumguywill@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: gawk libiconv ncursesw ------------------------------------+--------------------------------------- Comment(by ryandesign@…): That log shows: {{{ :info:build dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:build Referenced from: /opt/local/bin/gawk :info:build Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 }}} That means you have the gawk port installed, and the gawk program is linked with version 8 of the libiconv library (this is expected) but that it could only find version 7 (this is unexpected). Mac OS X provides version 7 of the libiconv library, so often this error occurs when gawk finds the MacPorts version of the library but it is unsuitable for some reason (often it is the wrong architecture) and it instead tries to use the Mac OS X version (which is unsuitable because its library version is too old). What is the architecture of your MacPorts-provided libiconv library? Find out with: {{{ lipo -info /opt/local/lib/libiconv.dylib }}} I see you are running Mac OS X 10.6; did you recently upgrade from an earlier OS? If so, did you follow the [wiki:Migration Migration procedure]? On Mac OS X, programs are built for the x86_64 architecture. If your libiconv library turns out to instead be of a different architecture, the Migration procedure is likely what you need to follow. -- Ticket URL: <https://trac.macports.org/ticket/27004#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS