Ошибка установки Net-SSLeay-1.74 на Solaris 10 с Perl 5.24 - PullRequest
0 голосов
/ 29 августа 2018

Я пытаюсь установить Net-SSleay, но я сталкиваюсь со следующими ошибками при запуске "make test". Установленная версия openssl: OpenSSL 1.0.1t 3 мая 2016 г. Установленная версия Perl: это Perl 5, версия 24, Я пытался перекомпилировать Perl и OpenSSL, но безуспешно.

 # make
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
 directory blib/lib/auto/Net/SSLeay:
  do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
  do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
  get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al,  get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
  head_https.al, head_https3.al, head_https4.al, head_http.al,  head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al   truncate to head_htt
  post_https.al, post_https3.al, post_https4.al, post_http.al,  post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al  truncate to post_htt
  put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al,  put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to  ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
  tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
  tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
Running Mkbootstrap for Net::SSLeay ()
chmod 644 "SSLeay.bs"
"/usr/local/perl524/bin/perl" "-Iinc" "/usr/local/perl524/lib/5.24.0 /ExtUtils/xsubpp"  -typemap "/usr/local/perl524/lib/5.24.0/ExtUtils/typemap"  -typemap "typemap"  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c  -I/usr/local/openssl101t/include  -fno-strict-aliasing -pipe    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O    -DVERSION=\"1.74\"  -DXS_VERSION=\"1.74\" -fPIC    "-I/usr/local/perl524/lib/5.24.0/i86pc-solaris/CORE"   SSLeay.c
SSLeay.xs: In function `next_protos_advertised_cb_invoke':
SSLeay.xs:987: warning: comparison is always false due to limited range  of data type
SSLeay.xs:997: warning: comparison is always false due to limited range of data type
rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
LD_RUN_PATH="/usr/lib" gcc  -G -L/usr/local/openssl101t -L/usr/local /openssl101t/lib -L/usr/local/lib SSLeay.o  -o blib/arch/auto/Net/SSLeay /SSLeay.so  \
   -L/usr/local/openssl101t -L/usr/local/openssl101t/lib -lssl -lcrypto -lz     \

ld: warning: file /usr/local/openssl101t/lib/libssl.a(s3_meth.o): wrong    ELF class: ELFCLASS64
ld: warning: file /usr/local/openssl101t/lib/libcrypto.a(mem.o): wrong  ELF class: ELFCLASS64
chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
"/usr/local/perl524/bin/perl" "-Iinc" -MExtUtils::Command::MM -e  'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644
Manifying 2 pod document


 # make test
 PERL_DL_NONLAZY=1 "/usr/local/perl524/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; t                                      est_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t
 t/handle/local/05_use.t ................ 1/1
 #   Failed test 'use Net::SSLeay::Handle;'
 #   at t/handle/local/05_use.t line 8.
 #     Tried to use 'Net::SSLeay::Handle'.
 #     Error:  Can't load '/staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SS                                     Leay: ld.so.1: perl: fatal: relocation error: file /staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/arch/auto/Net/SSLeay/SSLe                                     ay.so: symbol next_proto_helper_protodata2AV: referenced symbol not found at /usr/local/perl524/lib/5.24.0/i86pc-solaris/DynaLoader                                     .pm line 193.
 #  at /staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/lib/Net/SSLeay/Handle.pm line 7.
 # Compilation failed in require at /staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/lib/Net/SSLeay/Handle.pm line 7.
 # BEGIN failed--compilation aborted at /staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/lib/Net/SSLeay/Handle.pm line 7.
 # Compilation failed in require at t/handle/local/05_use.t line 8.
 # BEGIN failed--compilation aborted at t/handle/local/05_use.t line 8.
 # Looks like you failed 1 test of 1.
 t/handle/local/05_use.t ................ Dubious, test returned 1 (wstat   256, 0x100)
 Failed 1/1 subtests
 t/local/01_pod.t ....................... ok
 t/local/02_pod_coverage.t .............. skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTI                                     NG=1
 t/local/03_use.t ....................... 1/1
 #   Failed test 'use Net::SSLeay;'
 #   at t/local/03_use.t line 8.
 #     Tried to use 'Net::SSLeay'.
 #     Error:  Can't load '/staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SS                                     Leay: ld.so.1: perl: fatal: relocation error: file /staging/GLPI_solaris/perl_module/Net-SSLeay-1.74/blib/arch/auto/Net/SSLeay/SSLe                                     ay.so: symbol next_proto_helper_protodata2AV: referenced symbol not found at /usr/local/perl524/lib/5.24.0/i86pc-solaris/DynaLoader                                     .pm line 193.
 #  at t/local/03_use.t line 8.
 # Compilation failed in require at t/local/03_use.t line 8.
 # BEGIN failed--compilation aborted at t/local/03_use.t line 8.
 # Looks like you failed 1 test of 1.
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...