Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Failure trying to build Imager::File::PNG

by Tanktalus (Canon)
on Nov 14, 2012 at 04:43 UTC ( #1003749=note: print w/ replies, xml ) Need Help??

in reply to Failure trying to build Imager::File::PNG

"-lpng" always means "libpng.%ext" on unix/linux where %ext depends on the platform. However, on Linux, as far as I can tell, that's always .so, so look for a package that provides /usr/lib/ or /lib/ On Gentoo, that's the libpng ebuild with a URL of Hope that helps.

Also your test code failed with an inability to include "png.h" so there's another file to look for from your libpng package - /usr/include/png.h.

Good luck - it built fine here :-)

Comment on Re: Failure trying to build Imager::File::PNG
Replies are listed 'Best First'.
Re^2: Failure trying to build Imager::File::PNG
by GrandFather (Sage) on Nov 14, 2012 at 04:54 UTC

    Thanks! That was the hint I needed.

    apt-get install libpng12-dev

    did the magic for me. Mind you, it took three tries before I found the right package!

    True laziness is hard work

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003749]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-02-13 07:38 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (421 votes), past polls