[MacPorts] #28202: graphviz 2.26.3_4 build fails due to missing library png12
#28202: graphviz 2.26.3_4 build fails due to missing library png12 --------------------------------+------------------------------------------- Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: libpng | Port: graphviz --------------------------------+------------------------------------------- The upgrade of graphviz to 2.26.3_4 fails on my MacBook Pro (10.5.8) with the message "ld: library not found for -lpng12". I have libpng@1.4.5_0 installed and active, but it provides libpng and libpng14 only. I am going to attach the build logfile in case it helps tracking down the problem's cause. -- Ticket URL: <https://trac.macports.org/ticket/28202> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 --------------------------------+------------------------------------------- Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: libpng | Port: graphviz --------------------------------+------------------------------------------- Comment(by ludwig@…): After another "sudo port clean graphviz" the build went fine - I don't know what was the problem before. Anyway, this ticket can be closed. Sorry for the noise. -- Ticket URL: <https://trac.macports.org/ticket/28202#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 --------------------------------+------------------------------------------- Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: libpng | Port: graphviz --------------------------------+------------------------------------------- Comment(by nick.lott@…): Replying to [comment:1 ludwig@…]:
After another "sudo port clean graphviz" the build went fine - I don't know what was the problem before. Anyway, this ticket can be closed.
Sorry for the noise. I can confirm that after an initial error followed by "sudo port clean graphviz" the build went fine
-- Ticket URL: <https://trac.macports.org/ticket/28202#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 ---------------------------------+------------------------------------------ Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: libpng Port: graphviz | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/28202#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 ---------------------------------+------------------------------------------ Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: libpng Port: graphviz | ---------------------------------+------------------------------------------ Comment(by miken32@…): Replying to [comment:2 nick.lott@…]:
I can confirm that after an initial error followed by "sudo port clean graphviz" the build went fine
I am still experiencing this problem; multiple cleans and an uninstall have not helped, nor has re-installing libpng, nor has doing forced upgrades of dependentof:libpng. The Portfile doesn't mention the library version which leads me to think the problem is elsewhere. Suggestions? I'd really like to be able to use the gimp2 and inkscape ports again, which can't upgrade due to dependencies on graphviz. -- Ticket URL: <https://trac.macports.org/ticket/28202#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 ---------------------------------+------------------------------------------ Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: libpng Port: graphviz | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: miken32@… (added) Comment: Some port you've installed is still linked with libpng 1.2. You need to locate and rebuild that thing. You may need to do a brute-force search of /opt/local/lib and/or /opt/local/bin to identify what it is. -- Ticket URL: <https://trac.macports.org/ticket/28202#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28202: graphviz 2.26.3_4 build fails due to missing library png12 ---------------------------------+------------------------------------------ Reporter: ludwig@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: libpng Port: graphviz | ---------------------------------+------------------------------------------ Comment(by miken32@…): Replying to [comment:5 ryandesign@…]:
Some port you've installed is still linked with libpng 1.2. You need to locate and rebuild that thing. You may need to do a brute-force search of /opt/local/lib and/or /opt/local/bin to identify what it is.
Thanks, that did the trick. Sorry for the spam, but for the sake of anyone who finds this via search: I did `grep -ls png12 /opt/local/lib/*` and `grep -ls png12 /opt/local/bin/*`, performing a forced upgrade of anything that came up. All is well, and I will never run upgrade with the -n flag again. -- Ticket URL: <https://trac.macports.org/ticket/28202#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts