Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398997 - media-gfx/graphviz-2.26.3: fails to build with newer libpng
Summary: media-gfx/graphviz-2.26.3: fails to build with newer libpng
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 15:31 UTC by 5FBCDB43
Modified: 2012-01-15 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 5FBCDB43 2012-01-15 15:31:38 UTC
media-gfx/graphviz needs -lpng14 in order to build, but the dependency is >=media-libs/libpng-1.4, which pulls in too new libpng. The 1.4 has its own slot, so the dependency needs to be changed to media-libs/libpng:1.4 so the right libs are pulled in.
Furthermore, it seems even if the right libs are installed, configure scripts need to be tweaked, because they find 1.5 if it's installed, like on my box, and then it fails too. -lpng14 linker flags are hardcoded in Makefiles BTW.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-01-15 15:35:33 UTC

*** This bug has been marked as a duplicate of bug 319101 ***