SSLeay.c:16543:9: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16543 | RETVAL = EVP_MD_CTX_md(ctx); | ^~~~~~ In file included from /usr/include/openssl/rand.h:23, from SSLeay.xs:165: /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/usr/lib/x86_64-linux-gnu" cc -shared -O2 -L/usr -L/usr/lib64 -L/usr/lib -L/usr/local/lib -fstack-protector-strong SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \ -L/usr -L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz \ /usr/bin/ld: cannot find -lz: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:495: blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 CHRISN/Net-SSLeay-1.92.tar.gz make -- NOT OK