http://qs1969.pair.com?node_id=11145861


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