openssl: complie failed on CentOS 7

make install failed on CentOS 7 x64(kernel 4.9.86-30) with gcc 7.3.1 20180303

install libcrypto.a -> /data/src/openssl/.openssl/lib/libcrypto.a
install libssl.a -> /data/src/openssl/.openssl/lib/libssl.a
install libcrypto.so.1.1 -> /data/src/openssl/.openssl/lib/libcrypto.so.1.1
link /data/src/openssl/.openssl/lib/libcrypto.so -> /data/src/openssl/.openssl/lib/libcrypto.so.1.1
install libcrypto.so -> /data/src/openssl/.openssl/lib/libcrypto.so
install libcrypto.so.1.1 -> /data/src/openssl/.openssl/lib/libcrypto.so
ar: /data/src/openssl/.openssl/lib/libcrypto.so: File format not recognized
ar: /data/src/openssl/.openssl/lib/libcrypto.so.new: File format not recognized
make: *** [Makefile:328: install_dev] Error 1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Ah, I looked through the changelog for Text::Template, and the changes indicate that Text::Template->append_text_to_output came in version 1.46. That means that any version older than that will fail in exactly this way (i.e. output_off and output_on have no effect).

using cpan to upgrade it. other way you could compile it by yourself.

So I suppose that @kn007 has an older Text::Template, which can be confirmed like this:

perl -e 'use Text::Template; print $Text::Template::VERSION,"\n";'