# perl -MCPAN -e shell
####
cpan[1]> install Image::Scale
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 30 Jul 2022 16:29:03 GMT
Running install for module 'Image::Scale'
Checksum for /root/.cpan/sources/authors/id/A/AG/AGRUNDMA/Image-Scale-0.14.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring A/AG/AGRUNDMA/Image-Scale-0.14.tar.gz with Makefile.PL
Image::Scale requires at least one of libjpeg or libpng, please install one or both and try again.
No 'Makefile' created AGRUNDMA/Image-Scale-0.14.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Failed during this command:
AGRUNDMA/Image-Scale-0.14.tar.gz : writemakefile NO -- No 'Makefile' created
####
$ find / -type f \( -name 'libpng*' -o -name 'libjpeg*' \) -print
/usr/lib/libpng16.so.16.37.0
/usr/lib/libjpeg.so.8.2.2
/usr/lib/libpng16.a