openssl: OpenSSL 1.1.i and "Can't locate FindBin.pm in @INC"
It looks like a new Perl dependency was introduced with OpenSSL 1.1.1i. It is causing trouble.
openssl-1.1.1i$ ./Configure
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 ./Configure line 15.
BEGIN failed--compilation aborted at ./Configure line 15.
It looks like this is not an isolated incident:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 12
- Comments: 17 (4 by maintainers)
Commits related to this issue
- Use vendoed openSSL This allows us to not have to worry about installing openSSL on different underlying distros However for use with fedora we still need to install perl :/ see -> https://github.c... — committed to astoycos/bpfman by astoycos 4 years ago
- Use vendoed openSSL This allows us to not have to worry about installing openSSL on different underlying distros However for use with fedora we still need to install perl :/ see -> https://github.c... — committed to astoycos/bpfman by astoycos 4 years ago
- Use vendoed openSSL This allows us to not have to worry about installing openSSL on different underlying distros However for use with fedora we still need to install perl :/ see -> https://github.c... — committed to astoycos/bpfman by astoycos 4 years ago
- Use vendoed openSSL This allows us to not have to worry about installing openSSL on different underlying distros However for use with fedora we still need to install perl :/ see -> https://github.c... — committed to bpfman/bpfman by astoycos 4 years ago
- bootstrap: Add perl dep needed by openssl This is not installed by default on Red Hat, so pull it in bootstrap See: https://github.com/openssl/openssl/issues/13761 Part-of: <https://gitlab.freedeskt... — committed to viviedu/cerbero by nirbheek 5 years ago
@noloader Thank you for creating this issue. I got the same issue at Fedora v.33 when I tried to execute this command:
Installing
perlhelped me to fix this error:Here’s a more lightweight option:
Why do we need perl to build openssl again?
Answer to install
dnf install perlis still validI see that you have a locally built perl. In the perl source, you should find
dist/FindBin/lib/FindBin.pm, and probablylib/FindBin.pmwhen you’ve built perl. If you dofind /usr/local -name FindBin.pm, do you get its location? If not, there’s your problem.FindBin.pmis a core perl module, and we do assume a full perl installation, including its core modules. (this is the reason we require rpm based dists to installperl-corerather thanperl, and Debian based installation to installperland not justperl-base). If you’ve made some kind of minimalized perl installation, then we can’t help you.Perl was always needed.
Why wasn’t perl automatically installed on Fedora if it’s a dependency?
Installing Perl worked for me. Thank you.
The first part cmd worked for me, the second didnt. I was still missing some dependencies.
zhe second lightweight way is work on rockylinux 9.3 with old openssl 1.1.0 .
but when
make test,Can't locate Module/Load/Conditional.pmwill throw, so we need to install