Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLeay fails to install on Ubuntu 22.04 #481

Open
TeekieWebHostingSA opened this issue Jun 12, 2024 · 1 comment
Open

SSLeay fails to install on Ubuntu 22.04 #481

TeekieWebHostingSA opened this issue Jun 12, 2024 · 1 comment
Labels
question Further information is requested

Comments

@TeekieWebHostingSA
Copy link

chmod 644 "SSLeay.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644
"/usr/bin/perl" "/usr/share/perl/5.34/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.34/ExtUtils/typemap' -typemap '/root/.cpanm/work/1718192473.12700/Net-SSLeay-1.94/typemap' SSLeay.xs > SSLeay.xsc
mv SSLeay.xsc SSLeay.c
x86_64-linux-gnu-gcc -c -I"/usr/include" -DOPENSSL_API_COMPAT=908 -DNET_SSLEAY_PERL_VERSION=5034000 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE >
/bin/sh: 1: x86_64-linux-gnu-gcc: not found
make: *** [Makefile:353: SSLeay.o] Error 127
-> FAIL Installing Net::SSLeay failed. See /root/.cpanm/work/1718192473.12700/build.log for details. Retry with --force to force install it.

@h-vn
Copy link
Contributor

h-vn commented Jun 19, 2024

Plase note that Net::SSLeay is packaged by Ubuntu. If you don't need the latest CPAN version of Net::SSLeay, you can use the Ubuntu package management tools to install the package named libnet-ssleay-perl.

The compilation seems to fail because your host doesn't have a C compiler installed. Try installing Ubuntu package named gcc. You'll likely need Ubuntu package named libssl-dev too beause it brings in headers which are needed when compiling software that requires OpenSSL.

@h-vn h-vn added the question Further information is requested label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants