Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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/libpng.so or /lib/libpng.so. On Gentoo, that's the libpng ebuild with a URL of http://www.libpng.org. 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003749]
help
Chatterbox?
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: (6)
As of 2016-06-25 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.