Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Building with -MCPAN but cannot find libraries

by choroba (Archbishop)
on Jul 30, 2022 at 20:28 UTC ( #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 (Pilgrim) 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? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-09-25 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?