#37962: cairo: dyld: Library not loaded: /opt/local/lib/libpng14.14.dylib Referenced from: /opt/local/lib/libcairo.2.dylib ----------------------------+-------------------------- Reporter: jp+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: cairo | ----------------------------+-------------------------- Comment (by jp+macports@…): Replying to [comment:5 ryandesign@…]:
No. After you upgrade or install ''any'' port, MacPorts runs the so- called "rev-upgrade" feature, which checks whether ''any'' installed ports have linking errors; if any linking errors are found, those ports are rebuilt. But the rebuild is failing, perhaps in part because it was not a clean attempt. Always clean ports before trying to rebuild them.
Ok I guess that makes sense. So now I've tried 'sudo port clean cairo', 'sudo port clean gnuplot', 'sudo port selfupdate', and 'sudo port rev- upgrade'. The rev-upgrade fails with: {{{ ---> Computing dependencies for gnuplot ---> Fetching archive for gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://packages.macports.org/gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuplot ---> Fetching distfiles for gnuplot ---> Verifying checksum(s) for gnuplot ---> Extracting gnuplot ---> Applying patches to gnuplot ---> Configuring gnuplot ---> Building gnuplot Error: org.macports.build for port gnuplot returned: command execution failed Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/main.log Error: Unable to upgrade port: 1 Error rebuilding gnuplot while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 95) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4785) }}} The gnuplot/main.log again gives the error: {{{ :info:build dyld: Library not loaded: /opt/local/lib/libpng14.14.dylib :info:build Referenced from: /opt/local/lib/libcairo.2.dylib :info:build Reason: image not found }}} -- Ticket URL: <https://trac.macports.org/ticket/37962#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS