Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Building with -MCPAN but cannot find libraries

by choroba (Cardinal)
on Jul 30, 2022 at 20:28 UTC ( [id://11145861]=note: print w/replies, xml ) Need Help??


in reply to Building with -MCPAN but cannot find libraries

You also need to install the libraries' header files (e.g. /usr/include/libpng16/png.h or whatever your system uses). They are usually located in devel packages, i.e. libpng-devel-*.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Building with -MCPAN but cannot find libraries
by mldvx4 (Friar) on Jul 30, 2022 at 23:52 UTC

    Thanks! I appreciate it. I succeeded now after adding the development packages for libpng, etc. I also had to add perl-dev and musl-dev.

    % perl -MImage::Scale -e 'exit' % echo $? 0

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-18 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found