#43404: gawk links with mpfr but doesn't declare a dependency on it ----------------------+---------------------------- Reporter: zulus@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gawk | ----------------------+---------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mschamschula@… * cc: ryandesign@… (added) * port: gmp => gawk Comment: gmp does not require mpfr; gmp has no dependencies at all: {{{ $ port deps gmp gmp @6.0.0_0 has no dependencies. }}} The error I see in the log is: {{{ :info:configure dyld: Library not loaded: /opt/local/lib/libmpfr.4.dylib :info:configure Referenced from: /opt/local/bin/gawk :info:configure Reason: image not found }}} So gmp, like most other ports with a configure script, uses an awk program. In this case, it detected that you have the gawk port installed, and decided to use that. gawk is linked with mpfr on your system (as I see it is on my system), but the mpfr library is missing. It turns out that gawk does not declare a dependency on mpfr: {{{ $ port deps gawk Full Name: gawk @4.1.0_0 Extract Dependencies: xz Library Dependencies: readline, gettext }}} This dependency needs to be added, and the revision increased. -- Ticket URL: <https://trac.macports.org/ticket/43404#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X