Am getting this error while trying to configure the build for OpenSSL 3.4.0 from source code:
# ./config –prefix=/usr/local/openssl-3.4
Can’t locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /tmp/openssl-3.4.0/Configure line 15.
BEGIN failed–compilation aborted at /tmp/openssl-3.4.0/Configure line 15.
The error you’re encountering indicates that the FindBin
Perl module is missing from your system. You can resolve this by installing the required module. Here are the steps to do so:
1.) Install the FindBin
Module:
# yum install perl-FindBin
2.) Verify the Installation: Ensure that the module is installed correctly:
# perl -MFindBin -e 'print "FindBin module is installed\n"' # perl -MFindBin -e 'print "FindBin module is installed\n"' FindBin module is installed
3.) Retry the Configuration: After installing the module, try configuring the build again:
cd /tmp/openssl-3.4.0 ./config --prefix=/usr/local/openssl-3.4
This should resolve the error and allow you to proceed with the installation of OpenSSL