Page 1 of 1

Fail Install SDK Prerequisites ESX SDK

Posted: Fri Sep 24, 2021 7:14 am
by CBoekhuis
Hi,
i'm trying to do the installation of the ESX SDK on a new nagiosxi test server.
Server = rhel8.4 (VM on esx)

However the requirement part fails:

nagios3:root:/root> cpanm Crypt::SSLeay --dev
--> Working on Crypt::SSLeay
Fetching http://cpan.metacpan.org/authors/id/N/N ... _06.tar.gz ... OK
Configuring Crypt-SSLeay-0.73_06 ... N/A
! Configure failed for Crypt-SSLeay-0.73_06. See /root/.cpanm/work/1632484302.1690268/build.log for details.

And the log :

cpanm (App::cpanminus) 1.7044 on perl 5.026003 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1632484302.1690268
You have make /bin/make
You have LWP 6.34
You have /bin/tar: tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /bin/unzip
--> Working on Crypt::SSLeay
Fetching http://cpan.metacpan.org/authors/id/N/N ... _06.tar.gz
-> OK
Unpacking Crypt-SSLeay-0.73_06.tar.gz
Entering Crypt-SSLeay-0.73_06
Checking configure dependencies from META.json
Checking if you have Getopt::Long 0 ... Yes (2.5)
Checking if you have ExtUtils::CBuilder 0.280205 ... Yes (0.280230)
Checking if you have Devel::CheckLib 1.09 ... Yes (1.14)
Configuring Crypt-SSLeay-0.73_06
Running Makefile.PL
Use of uninitialized value in subroutine entry at Makefile.PL line 53.
Use of uninitialized value in subroutine entry at Makefile.PL line 59.

*** THIS IS NOT AN ERROR, JUST A MESSAGE FOR YOUR INFORMATION ***

Do you really need Crypt::SSLeay?

Starting with version 6.02 of LWP, https support was unbundled into
LWP::Protocol::https. This module specifies as one of its prerequisites
IO::Socket::SSL which is automatically used by LWP::UserAgent unless
this preference is overridden separately. IO::Socket::SSL is a more
complete implementation, and, crucially, it allows hostname
verification. Crypt::SSLeay does not support this. At this point,
Crypt::SSLeay is maintained to support existing software that already
depends on it.

However, it is possible that your software does not really depend on
Crypt::SSLeay, only on the ability of LWP::UserAgent class to
communicate with sites over SSL/TLS.

If are using version LWP 6.02 or later, and therefore have installed
LWP::Protocol::https and its dependencies, and do not explicitly use
Net::SSL before loading LWP::UserAgent, or override the default socket
class, you are probably using IO::Socket::SSL and do not really need
Crypt::SSLeay.

Before installing Crypt::SSLeay, you may want to try specifying a
dependency on LWP::Protocol::https.

Cannot link with any of the requested SSL libraries 'ssl, crypto, ssl32, ssleay32, eay32, libeay32, z'
-> N/A
-> FAIL Configure failed for Crypt-SSLeay-0.73_06. See /root/.cpanm/work/1632484302.1690268/build.log for details.

Gr,
Christian

Re: Fail Install SDK Prerequisites ESX SDK

Posted: Fri Sep 24, 2021 2:58 pm
by dchurch
In the Install SDK Prerequisites section of the document, try replacing this line:

Code: Select all

cpanm Crypt::SSLeay --dev
with this line:

Code: Select all

yum install perl-Crypt-SSLeay -y
In my experience setting this up, the packaged version of Crypt::SSLeay is all right to use.